File tree 2 files changed +27
-22
lines changed
packages/nextjs/src/components
2 files changed +27
-22
lines changed Original file line number Diff line number Diff line change 3
3
display : flex ;
4
4
justify-content : center ;
5
5
align-items : center ;
6
+ width : 100% ;
7
+ height : 100% ;
8
+ min-width : 4rem ;
9
+ min-height : 4rem ;
6
10
7
11
& :empty {
8
12
display : none ;
Original file line number Diff line number Diff line change 1
- @use ' common' as common ;
2
-
3
1
.contactStepPage {
4
2
padding-bottom : 1rem ;
5
- display : grid ;
6
- row -gap : var (--a-spacing-5 );
3
+ row-gap : var ( --a-spacing-2 ) ;
4
+ column -gap : var (--a-spacing-2 );
7
5
margin : 1.25rem auto var (--a-spacing-10 );
6
+ display : grid ;
7
+ grid-template-columns : 1fr 40rem 1fr ;
8
8
grid-template-areas :
9
- ' header'
10
- ' content'
11
- ' backLink' ;
9
+ ' pictogram header . '
10
+ ' . content . '
11
+ ' . backLink . ' ;
12
12
13
- @media #{ common . $mq- screen-tablet- and-desktop } {
14
- grid-template-columns : 1 fr 40 rem 1 fr ;
13
+ @media only screen and ( max-width : 1024 px ) {
14
+ grid-template-columns : none ;
15
15
grid-template-areas :
16
- ' pictogram header .'
16
+ ' . pictogram .'
17
+ ' . header .'
17
18
' . content .'
18
19
' . backLink .' ;
19
- column-gap : var (--a-spacing-10 );
20
20
}
21
21
.pictogram {
22
22
grid-area : pictogram;
23
- display : none ;
23
+ display : block ;
24
+ justify-self : end ;
25
+ width : 4.5rem ;
26
+ height : auto ;
27
+ position : relative ;
28
+ display : block ;
29
+ align-self : flex-start ;
24
30
25
- @media #{common .$mq-screen-tablet-and-desktop } {
26
- display : block ;
27
- width : 7rem ;
28
- justify-self : end ;
31
+ @media only screen and (max-width : 1024px ) {
32
+ width : 4rem ;
33
+ justify-self : start ;
29
34
}
30
35
}
31
36
.header {
34
39
35
40
.content {
36
41
grid-area : content ;
37
- max-width : 40rem ;
38
-
39
- & > * {
40
- border-radius : common .$border-radius-large ;
41
- }
42
42
43
43
.linkPanels {
44
44
display : flex ;
48
48
padding : 0 ;
49
49
50
50
.linkPanel {
51
- border-radius : common . $border-radius-large ;
51
+ border-radius : 6 px ;
52
52
border : 1px solid var (--a-border-subtle );
53
53
54
54
& :global {
60
60
}
61
61
}
62
62
}
63
+
63
64
.backLink {
64
65
grid-area : backLink;
65
66
}
You can’t perform that action at this time.
0 commit comments