Some styling changes; fix Server dropdown.

- Left align first dropdown on Github and LDAP tabs.
- Add border to give some whitespace
This commit is contained in:
kialam
2018-11-14 18:53:59 -05:00
parent ea35d9713a
commit 95e94a8ab5
2 changed files with 5 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ export default [
authVm.activeAuthForm = 'azure'; authVm.activeAuthForm = 'azure';
authVm.activeTab = 'azure'; authVm.activeTab = 'azure';
authVm.ldapDropdownValue = 'ldap'; authVm.ldapDropdownValue = '';
authVm.githubDropdownValue = 'github'; authVm.githubDropdownValue = 'github';
let codeInputInitialized = false; let codeInputInitialized = false;
@@ -383,7 +383,7 @@ export default [
function getActiveAuthForm (tab) { function getActiveAuthForm (tab) {
if (tab === 'ldap') { if (tab === 'ldap') {
return authVm.ldapDropdownValue; return `ldap${authVm.ldapDropdownValue}`;
} else if (tab === 'github') { } else if (tab === 'github') {
return authVm.githubDropdownValue; return authVm.githubDropdownValue;
} }

View File

@@ -35,7 +35,9 @@
width: 100%; width: 100%;
margin: 0 0 22px auto; margin: 0 0 22px auto;
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-start;
border-bottom: 1px solid @at-gray-b7;
padding-bottom: 22px;
} }
.Form-nav--ldapDropdownContainer { .Form-nav--ldapDropdownContainer {