Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 28b97a5

Browse files
authored
fix(toolbar): margin for fixed toolbar
Updated the media query for mdc-tollbar-fixed-adjust to be more specific, targetting only screens that fall within the mobile breakpoints of <959px and >599px instead of all landscape screens narrower than 959px
1 parent 3e173e1 commit 28b97a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mdc-toolbar/mdc-toolbar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
margin-top: $mdc-toolbar-row-height;
227227

228228
@media (max-width: $mdc-toolbar-mobile-landscape-width-breakpoint)
229-
and (orientation: landscape) {
229+
and (max-height: $mdc-toolbar-mobile-breakpoint) {
230230
margin-top: $mdc-toolbar-mobile-landscape-row-height;
231231
}
232232

0 commit comments

Comments
 (0)