Skip to content

Commit c4ef754

Browse files
authored
Merge pull request #380 from ninjapanzer/pks/fix_header_for_mobile
Add media queries so that the forum tab navigation isn't lost on ipads in portrait mode
2 parents 1aed594 + 6a92f21 commit c4ef754

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

public/css/style.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,33 @@ ul.categories-dropdown > li > a {
163163
}
164164
}
165165

166+
@media only screen
167+
and (min-device-width: 768px)
168+
and (max-device-width : 1025px)
169+
and (orientation : landscape) {
170+
.page-wrapper {
171+
margin-top: 0.5rem;
172+
}
173+
}
174+
175+
@media only screen
176+
and (min-device-width: 768px)
177+
and (max-device-width: 991px)
178+
and (orientation : landscape) {
179+
.page-wrapper {
180+
margin-top: 4rem;
181+
}
182+
}
183+
184+
@media only screen
185+
and (min-device-width: 768px)
186+
and (max-device-width : 1024px)
187+
and (orientation : portrait) {
188+
.page-wrapper {
189+
margin-top: 4rem;
190+
}
191+
}
192+
166193
.error-v4 {
167194
float: left;
168195
position: relative;

0 commit comments

Comments
 (0)