summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/search.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/pages/search.scss')
-rw-r--r--app/assets/stylesheets/pages/search.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss
index 502a1881fd2..cd99c667001 100644
--- a/app/assets/stylesheets/pages/search.scss
+++ b/app/assets/stylesheets/pages/search.scss
@@ -1,5 +1,7 @@
$search-dropdown-max-height: 400px;
$search-avatar-size: 16px;
+$search-sidebar-min-width: 240px;
+$search-sidebar-max-width: 300px;
.search-results {
.search-result-row {
@@ -17,6 +19,13 @@ $search-avatar-size: 16px;
}
}
+.search-sidebar {
+ @include media-breakpoint-up(md) {
+ min-width: $search-sidebar-min-width;
+ max-width: $search-sidebar-max-width;
+ }
+}
+
.search form:hover,
.file-finder-input:hover,
.issuable-search-form:hover,