Skip to content

Commit 95cd1cf

Browse files
committed
fix: fix issue with viewport height exceeding the space available
1 parent 54c6b0c commit 95cd1cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/uikit-workshop/src/scripts/components/pl-viewport/pl-viewport.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pl-iframe {
6868
width: 100%; // bug fix for Safari and Firefox getting stuck calculating a width of 0px when the JS first kicks in
6969
position: relative;
7070
margin: 0 auto;
71-
flex: 1;
71+
flex-grow: 1;
7272
-webkit-overflow-scrolling: touch;
7373

7474
&.hay-mode {
@@ -88,7 +88,6 @@ pl-iframe {
8888
* 1) this is the actual <iframe>
8989
*/
9090
.pl-c-viewport__iframe {
91-
min-height: calc(100vh - 35.5px);
9291
flex-grow: 1;
9392
width: 100%;
9493
border: 0;

0 commit comments

Comments
 (0)