diff --git a/src/lib/core/overlay/_overlay.scss b/src/lib/core/overlay/_overlay.scss index dafd279b0da9..307977d6b67b 100644 --- a/src/lib/core/overlay/_overlay.scss +++ b/src/lib/core/overlay/_overlay.scss @@ -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; } diff --git a/stylelint-config.json b/stylelint-config.json index 15d672bee014..28d5a47e51b1 100644 --- a/stylelint-config.json +++ b/stylelint-config.json @@ -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",