From eb7c7a517902eae425b05d1ca9cb7f99f76ee71f Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Wed, 12 Feb 2020 16:58:01 +0100 Subject: [PATCH] Fix user dropdown menu with long texts closes #2480 --- client/src/app/menu/menu.component.html | 2 +- client/src/sass/application.scss | 9 +++++++++ client/src/sass/bootstrap.scss | 4 ++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index b99c7308e..91422df77 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html @@ -11,7 +11,7 @@
{{ user.username }}
-
+
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index fa2452231..995cc6025 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -220,6 +220,15 @@ table { font-weight: $font-semibold; } +.dropdown-item { + @include dropdown-with-icon-item; + + my-global-icon { + width: 22px; + height: 22px; + } +} + @media screen and (max-width: 1600px) { .main-col { &.expanded { diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 330882fe4..2aca8c380 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss @@ -18,6 +18,10 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; } } +.dropdown { + z-index: 10001 !important; +} + .dropdown-menu { border-radius: 3px; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); -- 2.25.1