Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
feat(sidenav): make it thinner on <360px wide screens
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Jan 28, 2015
1 parent d8e5dd0 commit 6ee3346
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/sidenav/sidenav.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
$sidenav-default-width: 304px !default;
$sidenav-min-space: 56px !default;

md-sidenav {
position: absolute;
Expand Down Expand Up @@ -91,3 +92,9 @@ md-sidenav {
transform: translate3d(0%, 0, 0);
}
}

@media (max-width: $sidenav-default-width + $sidenav-min-space) {
md-sidenav {
width: 85%;
}
}

0 comments on commit 6ee3346

Please sign in to comment.