diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2017-10-09 14:35:03 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-12-08 11:56:04 +0100 |
commit | 6730cdb7bc75988cb0799ff0ed2f92e528549e51 (patch) | |
tree | 7952a622fda193cfec87134f18a4a8008244c005 | |
parent | 0c4cda2494f9175cfe6fa006730e0941fa138f96 (diff) | |
download | gitlab-ce-6730cdb7bc75988cb0799ff0ed2f92e528549e51.tar.gz |
Make new .dropdown-menu-user-link style global
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 7ade9184a91..e17b12c169b 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -183,6 +183,13 @@ &.dropdown-menu-user-link { line-height: 16px; + padding-top: 10px; + padding-bottom: 7px; + white-space: nowrap; + + .dropdown-menu-user-username { + display: block; + } } .icon-play { @@ -448,11 +455,6 @@ } } -.dropdown-menu-user-link { - padding-top: 10px; - padding-bottom: 7px; -} - .dropdown-menu-user-full-name { display: block; font-weight: $gl-font-weight-normal; @@ -780,14 +782,6 @@ width: 100%; font-weight: $gl-font-weight-normal; line-height: normal; - - &.dropdown-menu-user-link { - white-space: nowrap; - - .dropdown-menu-user-username { - display: block; - } - } } } |