File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,19 @@ import styled from 'styled-components';
22import { prop } from '../theme' ;
33
44const RootPage = styled . div `
5- min-height: 100%;
5+ min-height: 100vh;
6+ height: ${ ( { fixedHeight } ) => fixedHeight || '100vh' } ;
67 display: flex;
7- justify-content: start;
8+ justify-content: flex- start;
89 flex-direction: column;
910 color: ${ prop ( 'primaryTextColor' ) } ;
1011 background-color: ${ prop ( 'backgroundColor' ) } ;
11- height: ${ ( { fixedHeight } ) => fixedHeight || 'initial' } ;
1212
1313 @media (max-width: 770px) {
1414 height: 100%;
1515 overflow: hidden;
1616 }
17+
1718 @media print {
1819 @page {
1920 page-orientation: landscape;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ button {
5151.root-app ,
5252.app {
5353 min-height : 100% ;
54- height : 100 % ;
54+ height : 100 vh ;
5555}
5656
5757a {
Original file line number Diff line number Diff line change 33.preview-frame-holder {
44 display : flex ;
55 flex-direction : column ;
6- height : 100% ;
6+ height : 100% !important ;
7+ overflow : hidden ;
78}
89
910.preview-frame-overlay {
You can’t perform that action at this time.
0 commit comments