Commit b57839da authored by Kemais Ehlers's avatar Kemais Ehlers Committed by Paul Slaughter

Fix top-nav search bar dropdown on xl displays

parent 6d579e9b
...@@ -529,7 +529,7 @@ $award-emoji-width-xs: 90%; ...@@ -529,7 +529,7 @@ $award-emoji-width-xs: 90%;
*/ */
$search-input-border-color: rgba($blue-400, 0.8); $search-input-border-color: rgba($blue-400, 0.8);
$search-input-width: 200px; $search-input-width: 200px;
$search-input-active-width: 320px; $search-input-xl-width: 320px;
$location-icon-color: #e7e9ed; $location-icon-color: #e7e9ed;
/* /*
......
...@@ -48,6 +48,10 @@ input[type='checkbox']:hover { ...@@ -48,6 +48,10 @@ input[type='checkbox']:hover {
background-color ease-in-out $default-transition-duration, background-color ease-in-out $default-transition-duration,
width ease-in-out $default-transition-duration; width ease-in-out $default-transition-duration;
@include media-breakpoint-up(xl) {
width: $search-input-xl-width;
}
&:hover { &:hover {
box-shadow: none; box-shadow: none;
} }
...@@ -116,7 +120,7 @@ input[type='checkbox']:hover { ...@@ -116,7 +120,7 @@ input[type='checkbox']:hover {
overflow: auto; overflow: auto;
@include media-breakpoint-up(xl) { @include media-breakpoint-up(xl) {
width: $search-input-active-width; width: $search-input-xl-width;
} }
} }
...@@ -131,10 +135,6 @@ input[type='checkbox']:hover { ...@@ -131,10 +135,6 @@ input[type='checkbox']:hover {
border-color: $blue-300; border-color: $blue-300;
box-shadow: none; box-shadow: none;
@include media-breakpoint-up(xl) {
width: $search-input-active-width;
}
.search-input-wrap { .search-input-wrap {
.search-icon, .search-icon,
.clear-icon { .clear-icon {
......
---
title: Fix top-nav search bar dropdown on xl displays
merge_request: 31864
author: Kemais Ehlers
type: fixed
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