Skip to content

Commit 35e1dda

Browse files
committed
Fix duplicate headings when fractional window sizes used
1 parent 26afa40 commit 35e1dda

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

sass/layout/_header_mobile.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#mobile-header {
2+
display: none;
23
background-color: #333;
34

45
.header-contents {
@@ -32,6 +33,7 @@
3233
}
3334

3435
#mobile-editor-bar {
36+
display: none;
3537
padding: 0 10px;
3638

3739
#mobile-menu {
@@ -96,12 +98,12 @@
9698
}
9799
}
98100

99-
@media (min-width: $screen-sm) {
101+
@media (max-width: $screen-xs-max) {
100102
#mobile-header {
101-
display: none !important;
103+
display: block !important;
102104
}
103105

104106
#mobile-editor-bar {
105-
display: none !important;
107+
display: block !important;
106108
}
107109
}

0 commit comments

Comments
 (0)