Skip to content

A platform for community discussion. Free, open, simple.

DEV: prevent sass mixed declarations warning (#31577)

David Battersby5c4c8b81eb94
diff --git a/app/assets/stylesheets/desktop/components/header-search.scss b/app/assets/stylesheets/desktop/components/header-search.scss
index e30d466db4d..3170f8ecf4d 100644
--- a/app/assets/stylesheets/desktop/components/header-search.scss
+++ b/app/assets/stylesheets/desktop/components/header-search.scss
@@ -47,6 +47,8 @@
.search-menu {
height: 100%;
width: 100%;
+ margin: 0 auto;
+ position: relative;
@media screen and (max-width: 1025px) {
width: 80%;
@@ -55,8 +57,6 @@
@media screen and (max-width: 768px) {
width: 95%;
}
- margin: 0 auto;
- position: relative;
// Hide search-icon when search-context is present
.search-input .search-context ~ .search-icon {