This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sidenav): properly sets width of sidenav
Closes #957
- Loading branch information
Robert Messerle
committed
Feb 4, 2015
1 parent
88813b7
commit 0318ca4
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0318ca4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a specific reason for a 254px sidenav width?
According to material spec, desktop component proportions can be determined as incrementing in keylines:
http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylines-ratio-keylines
I think 256px width would be better accordance with material spec. (64dp x 4 = 256dp) and this way sidenav component would fit perfectly to 8dp square baseline grid.
0318ca4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@offminded - Seems reasonable. Thx for the review. Plz submit an issue for this... or better yet a Pull Request.