Commit 045489f6 authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch 'ps-remove-dropdown-menu-nav' into 'master'

Remove `.dropdown-menu-nav` from SCSS

See merge request gitlab-org/gitlab!42896
parents 38185f69 75d7b122
...@@ -112,8 +112,7 @@ a { ...@@ -112,8 +112,7 @@ a {
} }
.dropdown-menu a, .dropdown-menu a,
.dropdown-menu button, .dropdown-menu button {
.dropdown-menu-nav a {
transition: none; transition: none;
} }
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
} }
.show.dropdown { .show.dropdown {
.dropdown-menu, .dropdown-menu {
.dropdown-menu-nav {
@include set-visible; @include set-visible;
min-height: $dropdown-min-height; min-height: $dropdown-min-height;
max-height: $dropdown-max-height; max-height: $dropdown-max-height;
...@@ -258,8 +257,7 @@ ...@@ -258,8 +257,7 @@
} }
} }
.dropdown-menu, .dropdown-menu {
.dropdown-menu-nav {
display: none; display: none;
position: absolute; position: absolute;
width: auto; width: auto;
...@@ -393,7 +391,13 @@ ...@@ -393,7 +391,13 @@
pointer-events: none; pointer-events: none;
} }
.dropdown-menu li { .dropdown-menu {
display: none;
opacity: 1;
visibility: visible;
transform: translateY(0);
li {
cursor: pointer; cursor: pointer;
&.droplab-item-active button { &.droplab-item-active button {
...@@ -439,6 +443,7 @@ ...@@ -439,6 +443,7 @@
} }
} }
} }
}
.icon { .icon {
display: inline-block; display: inline-block;
...@@ -447,21 +452,12 @@ ...@@ -447,21 +452,12 @@
} }
} }
.droplab-dropdown .dropdown-menu,
.droplab-dropdown .dropdown-menu-nav {
display: none;
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.comment-type-dropdown.show .dropdown-menu { .comment-type-dropdown.show .dropdown-menu {
display: block; display: block;
} }
.filtered-search-box-input-container { .filtered-search-box-input-container {
.dropdown-menu, .dropdown-menu {
.dropdown-menu-nav {
max-width: 280px; max-width: 280px;
} }
} }
...@@ -850,8 +846,7 @@ ...@@ -850,8 +846,7 @@
} }
header.navbar-gitlab .dropdown { header.navbar-gitlab .dropdown {
.dropdown-menu, .dropdown-menu {
.dropdown-menu-nav {
width: 100%; width: 100%;
min-width: 100%; min-width: 100%;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment