File tree 3 files changed +18
-2
lines changed
3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const baseStyles = ({ theme }) => css`
24
24
${ getBreakPointStyles ( theme , 'kilo' ) } ;
25
25
${ getBreakPointStyles ( theme , 'mega' ) } ;
26
26
${ getBreakPointStyles ( theme , 'giga' ) } ;
27
- ${ getBreakPointStyles ( theme , 'tera ' ) } ;
27
+ ${ getBreakPointStyles ( theme , 'afterTera ' ) } ;
28
28
` ;
29
29
30
30
/**
Original file line number Diff line number Diff line change @@ -38,6 +38,14 @@ exports[`Grid should render with default styles 1`] = `
38
38
}
39
39
}
40
40
41
+ @media (min-width:1280px) {
42
+ .circuit - 0 {
43
+ max-width: 1200px ;
44
+ padding - left : calc (24px / 2 );
45
+ padding - right : calc (24px / 2 );
46
+ }
47
+ }
48
+
41
49
<div
42
50
className = " circuit-0 circuit-1"
43
51
/>
Original file line number Diff line number Diff line change @@ -205,6 +205,13 @@ export const grid = {
205
205
cols : 12 ,
206
206
maxWidth : '880px' ,
207
207
gutter : spacings . giga
208
+ } ,
209
+ afterTera : {
210
+ priority : 5 ,
211
+ breakpoint : 'tera' ,
212
+ cols : 12 ,
213
+ maxWidth : '1200px' ,
214
+ gutter : spacings . giga
208
215
}
209
216
} ;
210
217
@@ -217,7 +224,8 @@ export const breakpoints = {
217
224
megaToGiga : '(min-width: 768px) and (max-width: 959px)' ,
218
225
giga : 960 ,
219
226
gigaToTera : '(min-width: 960px) and (max-width: 1279px)' ,
220
- tera : 1280
227
+ tera : 1280 ,
228
+ afterTera : '(min-width: 1280px)'
221
229
} ;
222
230
223
231
export const mq = createMediaQueries ( breakpoints ) ;
You can’t perform that action at this time.
0 commit comments