Skip to content

Commit af39236

Browse files
authored
fix(overlay): ensure container covers entire screen (#1634)
1 parent f91ea21 commit af39236

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lib/core/overlay/_overlay.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
// The container should be the size of the viewport.
1919
top: 0;
2020
left: 0;
21-
height: 100%;
22-
width: 100%;
21+
height: 100vh;
22+
width: 100vw;
2323
z-index: $md-z-index-overlay-container;
2424
}
2525

stylelint-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

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

2424
"value-list-comma-space-after": "always-single-line",
2525
"value-list-comma-space-before": "never",

0 commit comments

Comments
 (0)