summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2017-09-21 12:08:34 +0200
committerWinnie Hellmann <winnie@gitlab.com>2017-09-21 23:51:22 +0200
commite4708e28a81e7372f30bda15ea9c3550f9d79cf3 (patch)
tree0ac4a11700844ba023bc34f8e4f02ee52462643b
parent92173ac55cd921a65ce137e238ed8bc4474aaccb (diff)
downloadgitlab-ce-winh-user-dropdown-nowrap.tar.gz
Avoid wrapping users in dropdownwinh-user-dropdown-nowrap
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index 2bcd23a15e6..c0d8e6c328c 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -779,6 +779,14 @@
white-space: normal;
width: 100%;
+ &.dropdown-menu-user-link {
+ white-space: nowrap;
+
+ .dropdown-menu-user-username {
+ display: block;
+ }
+ }
+
// make sure the text color is not overriden
&.text-danger {
color: $brand-danger;