Skip to content

Commit 74fbf58

Browse files
authored
Merge pull request #11462 from ncoden/fix/reveal-mobile-full-height-10879
fix: avoid viewport height for fullscreen Reveal as it may be incorrect #10879
2 parents 6067998 + fd04798 commit 74fbf58

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scss/components/_reveal.scss

+3-2
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,14 @@ $reveal-overlay-background: rgba($black, 0.45) !default;
113113
/// Creates a full-screen modal, which stretches the full width and height of the window.
114114
@mixin reveal-modal-fullscreen {
115115
top: 0;
116+
right: 0;
117+
bottom: 0;
116118
left: 0;
117119

118120
width: 100%;
119121
max-width: none;
120122
height: 100%;
121-
height: 100vh; // sass-lint:disable-line no-duplicate-properties
122-
min-height: 100vh;
123+
min-height: 100%;
123124
margin-left: 0;
124125

125126
border: 0;

0 commit comments

Comments
 (0)