File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
dotcom-rendering/src/components/Masthead Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const container = css`
41
41
column-gap : ${ space [ 2 ] } px;
42
42
/** Relative positioning is required to absolutely position the card link overlay */
43
43
position : relative;
44
- padding : 10 px 10 px 0 10 px ;
44
+ padding : ${ space [ 2 ] } px ${ space [ 2 ] } px 0 ${ space [ 2 ] } px ;
45
45
background-color : ${ palette ( '--highlights-card-background' ) } ;
46
46
47
47
/**
@@ -55,22 +55,19 @@ const container = css`
55
55
${ until . mobileMedium } {
56
56
min-height : 174px ;
57
57
}
58
-
59
58
${ between . mobileMedium . and . tablet } {
60
59
min-height : 194px ;
61
60
height : 100% ;
62
61
}
63
-
64
62
${ from . tablet } {
65
63
height : 100% ;
66
64
width : 160px ;
65
+ padding : 10px 10px 0 10px ;
67
66
}
68
-
69
67
${ from . tablet } {
70
68
width : 280px ;
71
69
flex-direction : row;
72
70
}
73
-
74
71
${ from . desktop } {
75
72
width : 300px ;
76
73
}
@@ -105,6 +102,7 @@ const content = css`
105
102
padding-bottom : 10px ;
106
103
}
107
104
` ;
105
+
108
106
const starWrapper = css `
109
107
width : fit-content;
110
108
margin-top : ${ space [ 1 ] } px;
You can’t perform that action at this time.
0 commit comments