diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-04-11 20:24:15 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-04-11 20:24:15 +0300 |
commit | e77ecf627fbf21d56db377710908db5cfcba7800 (patch) | |
tree | 54eb942d5a66ca8a977a087ddbdb98c454742bf4 /app/assets | |
parent | 54691d3d444e972547d8308b4dda6418e27580d4 (diff) | |
parent | 21e6c7acf20b4b287da185cf4f7c90148741aa0c (diff) |
Merge branch '41748-vertical-misalignment-login-box' into 'master'
Vertical misalignment of login box header
Closes #41748
See merge request gitlab-org/gitlab-ce!16275
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/pages/sessions/new/signin_tabs_memoizer.js | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/login.scss | 20 |
2 files changed, 3 insertions, 19 deletions
diff --git a/app/assets/javascripts/pages/sessions/new/signin_tabs_memoizer.js b/app/assets/javascripts/pages/sessions/new/signin_tabs_memoizer.js index 08f0afdcce3..d321892d2d2 100644 --- a/app/assets/javascripts/pages/sessions/new/signin_tabs_memoizer.js +++ b/app/assets/javascripts/pages/sessions/new/signin_tabs_memoizer.js @@ -5,7 +5,7 @@ import AccessorUtilities from '~/lib/utils/accessor'; * Does that setting the current selected tab in the localStorage */ export default class SigninTabsMemoizer { - constructor({ currentTabKey = 'current_signin_tab', tabSelector = 'ul.nav-tabs' } = {}) { + constructor({ currentTabKey = 'current_signin_tab', tabSelector = 'ul.new-session-tabs' } = {}) { this.currentTabKey = currentTabKey; this.tabSelector = tabSelector; this.isLocalStorageAvailable = AccessorUtilities.isLocalStorageAccessSafe(); diff --git a/app/assets/stylesheets/pages/login.scss b/app/assets/stylesheets/pages/login.scss index b2250a1ce2f..97303d02666 100644 --- a/app/assets/stylesheets/pages/login.scss +++ b/app/assets/stylesheets/pages/login.scss @@ -154,26 +154,10 @@ a { width: 100%; font-size: 18px; - margin-right: 0; - - &:hover { - border: 1px solid transparent; - } } - &.active { - border-bottom: 1px solid $border-color; - - a { - border: 0; - border-bottom: 2px solid $link-underline-blue; - margin-right: 0; - color: $black; - - &:hover { - border-bottom: 2px solid $link-underline-blue; - } - } + &.active > a { + cursor: default; } } } |