Skip to content

Commit

Permalink
fix(overlay): ensure container covers entire screen (#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn authored Oct 27, 2016
1 parent f91ea21 commit af39236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/core/overlay/_overlay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
// The container should be the size of the viewport.
top: 0;
left: 0;
height: 100%;
width: 100%;
height: 100vh;
width: 100vw;
z-index: $md-z-index-overlay-container;
}

Expand Down
2 changes: 1 addition & 1 deletion stylelint-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

"unit-case": "lower",
"unit-no-unknown": true,
"unit-whitelist": ["px", "%", "deg", "ms", "em", "vh"],
"unit-whitelist": ["px", "%", "deg", "ms", "em", "vh", "vw"],

"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never",
Expand Down

0 comments on commit af39236

Please sign in to comment.