File tree 2 files changed +19
-2
lines changed
2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
1
import styled from 'styled-components/macro' ;
2
+ import { desktopHeight } from './media-queries' ;
2
3
3
- export const InngangMainContainer = styled . main `
4
+ const MainContainer = styled . main `
4
5
padding-bottom: 128px;
6
+ min-height: 75vh;
7
+
8
+ @media ${ desktopHeight . desktopL } {
9
+ min-height: 80vh;
10
+ }
11
+ @media ${ desktopHeight . desktop4K } {
12
+ min-height: 85vh;
13
+ }
14
+ ` ;
15
+
16
+ export const InngangMainContainer = styled ( MainContainer ) `
5
17
padding-top: 64px;
6
18
background-color: #e7e9e9;
7
19
` ;
8
20
9
- export const FormMainContainer = styled . main `
21
+ export const FormMainContainer = styled ( MainContainer ) `
10
22
padding-bottom: 128px;
11
23
background-color: #fff;
12
24
` ;
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ const size = {
8
8
desktop : '2560px'
9
9
} ;
10
10
11
+ export const desktopHeight = {
12
+ desktopL : '(min-height: 1440px)' ,
13
+ desktop4K : '(min-height: 2160px)'
14
+ } ;
15
+
11
16
export const device = {
12
17
mobileS : `(min-width: ${ size . mobileS } )` ,
13
18
mobileM : `(min-width: ${ size . mobileM } )` ,
You can’t perform that action at this time.
0 commit comments