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

Commit

Permalink
fix(toolbar): margin for fixed toolbar
Browse files Browse the repository at this point in the history
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
  • Loading branch information
patrickrodee authored Dec 4, 2017
1 parent 3e173e1 commit 28b97a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-toolbar/mdc-toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
margin-top: $mdc-toolbar-row-height;

@media (max-width: $mdc-toolbar-mobile-landscape-width-breakpoint)
and (orientation: landscape) {
and (max-height: $mdc-toolbar-mobile-breakpoint) {
margin-top: $mdc-toolbar-mobile-landscape-row-height;
}

Expand Down

0 comments on commit 28b97a5

Please sign in to comment.