Skip to content

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

DEV: Move media query to breakpoint scss (#31865)

Jordan Vidrine76dce62cf2d5
diff --git a/app/assets/stylesheets/desktop/components/header-search.scss b/app/assets/stylesheets/desktop/components/header-search.scss
index 7118670fbb1..9b71f8438d4 100644
--- a/app/assets/stylesheets/desktop/components/header-search.scss
+++ b/app/assets/stylesheets/desktop/components/header-search.scss
@@ -46,11 +46,11 @@
margin: 0 auto;
position: relative;
- @media screen and (max-width: 1025px) {
+ @include breakpoint(large) {
width: 80%;
}
- @media screen and (max-width: 768px) {
+ @include breakpoint(tablet) {
width: 90%;
}