File tree 1 file changed +6
-2
lines changed
src/styles/components/widgets
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
$item-size : 90px ;
2
2
$image-size : 60px ;
3
+ $label-height : 34px ;
4
+ $row-height : $image-size + $label-height + $default-half-spacing-unit +
5
+ $default-quarter-spacing-unit ;
3
6
4
7
.trace-grid {
5
8
display : grid ;
6
9
grid-template-columns : repeat (4 , 1fr );
7
- @media (max-width : 1000 px ) {
10
+ @media (max-width : 860 px ) {
8
11
grid-template-columns : repeat (2 , 1fr );
9
12
}
10
13
& __column {
@@ -141,6 +144,7 @@ $image-size: 60px;
141
144
display : grid ;
142
145
grid-gap : 0 ;
143
146
grid-template-columns : repeat (2 , $item-size );
147
+ grid-template-rows : repeat (2 , $row-height );
144
148
flex-grow : 1 ;
145
149
width : 100% ;
146
150
padding : 0 var (--spacing-half-unit ) var (--spacing-half-unit );
@@ -267,7 +271,7 @@ $image-size: 60px;
267
271
& __label {
268
272
font-weight : var (--font-weight-semibold );
269
273
width : $item-size * 0.8 ;
270
- height : 34 px ;
274
+ height : $label-height ;
271
275
margin-top : var (--spacing-quarter-unit );
272
276
color : var (--color-text-base );
273
277
text-transform : capitalize ;
You can’t perform that action at this time.
0 commit comments