Skip to content
Snippets Groups Projects
Commit af7cd0b3 authored by Claas Kazzer's avatar Claas Kazzer :speech_balloon: Committed by Frank Morgner
Browse files

refs #14674 - attempts fix for search-filter-toggle SCSS error

parent 701dee09
No related merge requests found
...@@ -2,10 +2,12 @@ $offcanvas-offset: 80vw !default; // Width of open menu ...@@ -2,10 +2,12 @@ $offcanvas-offset: 80vw !default; // Width of open menu
.offcanvas-overlay { display: none; } .offcanvas-overlay { display: none; }
// Fix you-cannot-extend-from-inside-media-query error:
// Since .search-filter-toggle is only used on XS devices anyway,
// we can move the @extend outside the media query -- CK #14674
.search-filter-toggle { .search-filter-toggle {
/*@extend .btn; @extend .btn;
@extend .btn-default; @extend .btn-default;
*/
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
...@@ -24,16 +26,6 @@ $offcanvas-offset: 80vw !default; // Width of open menu ...@@ -24,16 +26,6 @@ $offcanvas-offset: 80vw !default; // Width of open menu
} }
.offcanvas .close-offcanvas { display: block; } .offcanvas .close-offcanvas { display: block; }
.search-filter-toggle {
/* refs #14565 uncommented by vf 5.1 update
grunt says that you may not @extend an outer selector from within @media.
@to-do fixing bug
@extend .btn;
@extend .btn-default;
*/
margin-top: 1rem;
margin-bottom: 1rem;
}
body.offcanvas { body.offcanvas {
overflow-x: hidden; /* Prevent scroll on narrow devices */ overflow-x: hidden; /* Prevent scroll on narrow devices */
......
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