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:
authorWinnie Hellmann <winnie@gitlab.com>2018-12-05 17:09:59 +0300
committerWinnie Hellmann <winnie@gitlab.com>2018-12-05 17:09:59 +0300
commit6992f535f99d9db117ef316033d390665c307eaf (patch)
treeb9114e7896c846996623d755a2028763103b13fb
parent67162d12037e6dba5d6887e477f663d393583bd9 (diff)
Replace $search-dropdown-max-height with $dropdown-max-heightwinh-dropdown-max-height
-rw-r--r--app/assets/stylesheets/pages/search.scss5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss
index 04151b1cd59..471e32e159a 100644
--- a/app/assets/stylesheets/pages/search.scss
+++ b/app/assets/stylesheets/pages/search.scss
@@ -1,4 +1,3 @@
-$search-dropdown-max-height: 400px;
$search-avatar-size: 16px;
.search-results {
@@ -111,7 +110,7 @@ input[type='checkbox']:hover {
// Custom dropdown positioning
.dropdown-menu {
left: -5px;
- max-height: $search-dropdown-max-height;
+ max-height: $dropdown-max-height;
overflow: auto;
@include media-breakpoint-up(xl) {
@@ -120,7 +119,7 @@ input[type='checkbox']:hover {
}
.dropdown-content {
- max-height: $search-dropdown-max-height - 18px;
+ max-height: $dropdown-max-height - 18px;
}
}