From e0433a5f8f9346080b24d73d17c9f8fcb660a5d1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 May 2020 11:58:03 +0200 Subject: [PATCH] Fix dropdown menu overflow --- .../+video-watch/comment/video-comments.component.html | 8 ++++---- .../+video-watch/comment/video-comments.component.scss | 4 ++-- client/src/sass/bootstrap.scss | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.html b/client/src/app/videos/+video-watch/comment/video-comments.component.html index a21042f09..affbd4793 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.html @@ -12,10 +12,10 @@
- -
+
@@ -72,7 +72,7 @@ >
- + @@ -83,7 +83,7 @@ View {{ comment.totalReplies }} replies - +
diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.scss b/client/src/app/videos/+video-watch/comment/video-comments.component.scss index 5ed1ac629..df42fae73 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.scss +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.scss @@ -21,7 +21,7 @@ .title-page { margin-right: 0; } - + my-feed { display: inline-block; margin-left: 5px; @@ -33,7 +33,7 @@ } } -#dropdownSortComments { +#dropdown-sort-comments { font-weight: 600; text-transform: uppercase; border: none; diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index cb266cc68..7985472ed 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss @@ -37,6 +37,8 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; } .dropdown-menu { + z-index: z(dropdown) + 1 !important; + 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); font-size: 15px;