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';
2
2
import { prop } from '../theme' ;
3
3
4
4
const RootPage = styled . div `
5
- min-height: 100%;
5
+ min-height: 100vh;
6
+ height: ${ ( { fixedHeight } ) => fixedHeight || '100vh' } ;
6
7
display: flex;
7
- justify-content: start;
8
+ justify-content: flex- start;
8
9
flex-direction: column;
9
10
color: ${ prop ( 'primaryTextColor' ) } ;
10
11
background-color: ${ prop ( 'backgroundColor' ) } ;
11
- height: ${ ( { fixedHeight } ) => fixedHeight || 'initial' } ;
12
12
13
13
@media (max-width: 770px) {
14
14
height: 100%;
15
15
overflow: hidden;
16
16
}
17
+
17
18
@media print {
18
19
@page {
19
20
page-orientation: landscape;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ button {
51
51
.root-app ,
52
52
.app {
53
53
min-height : 100% ;
54
- height : 100 % ;
54
+ height : 100 vh ;
55
55
}
56
56
57
57
a {
Original file line number Diff line number Diff line change 3
3
.preview-frame-holder {
4
4
display : flex ;
5
5
flex-direction : column ;
6
- height : 100% ;
6
+ height : 100% !important ;
7
+ overflow : hidden ;
7
8
}
8
9
9
10
.preview-frame-overlay {
You can’t perform that action at this time.
0 commit comments