Skip to content

Commit ec20bbe

Browse files
committed
Fix duplicate .search-bar-mobile selector
1 parent 3cdedae commit ec20bbe

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

_sass/elements/_search-bar.scss

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
margin-bottom: 10px;
1515
}
1616

17-
17+
/* Override _forms.scss (was #search) */
1818
#search-desktop,
1919
#search-mobile {
2020
padding-right: 0px;
@@ -47,13 +47,13 @@
4747

4848

4949

50-
/* Mobile and below: show mobile search bar only */
50+
/* Mobile and below: show mobile search bar only (unchanged behaviour) */
5151
@media #{$bp-below-tablet} {
5252
.search-bar-desktop { display: none; }
5353
.search-bar-mobile { display: flex; position: static; }
5454
}
5555

56-
/* Desktop and up: show desktop search bar */
56+
/* Desktop and up: show desktop search bar; sticky below header */
5757
@media #{$bp-desktop-up} {
5858
.search-bar-mobile { display: none; }
5959
.search-bar-desktop {
@@ -62,7 +62,4 @@
6262
top: 61px;
6363
z-index: 90;
6464
}
65-
.search-bar-mobile {
66-
display: none;
67-
}
6865
}

0 commit comments

Comments
 (0)