Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-26 12:25:16 +0300
committerPhil Hughes <me@iamphill.com>2017-09-26 12:25:16 +0300
commita7265abd6dc397017381763ea22250656105ae10 (patch)
tree0d771943ed9868b924c2b2f160da6a84caf9d581
parent3689b9e5f05fd6877526603e94f14d6275985fde (diff)
parente4708e28a81e7372f30bda15ea9c3550f9d79cf3 (diff)
Merge branch 'winh-user-dropdown-nowrap' into 'master'
Avoid wrapping users in dropdown Closes #38077 See merge request gitlab-org/gitlab-ce!14410
-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;