File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 29
29
grid-gap : 0 2em ;
30
30
31
31
> * {
32
- flex : 1 ; // Flexbox fallback.
33
32
min-width : 0 ; // Fix Firefox `pre` overflow issues.
34
33
padding : 0 1em ; // Flexbox fallback.
35
34
box-sizing : border-box ; // Flexbox fallback.
79
78
margin : 0 ;
80
79
}
81
80
82
- .layout-container > * {
81
+ .layout-1col ,
82
+ .layout-2col ,
83
+ .layout-3col ,
84
+ .layout-3col-2span ,
85
+ .layout-4col ,
86
+ .layout-4col-2span ,
87
+ .layout-4col-3span ,
88
+ .layout-4col :not (.sidebar ) {
83
89
width : auto ;
84
90
padding : 0 ;
85
91
}
235
241
236
242
// Override Flexbox fallback for browsers with CSS Grid support.
237
243
@supports (display : grid ) {
238
- .layout-container > * {
244
+ .layout-2col ,
245
+ .layout-3col ,
246
+ .layout-3col-2span {
239
247
width : auto ;
240
248
}
241
249
}
453
461
}
454
462
455
463
.layout-4col-3span {
456
- width : 75 % ; // Flexbox fallback.
464
+ width : 73 % ; // Flexbox fallback.
457
465
grid-column : span 9 ;
458
466
}
459
467
460
468
// Override Flexbox fallback for browsers with CSS Grid support.
461
469
@supports (display : grid ) {
462
- .layout-container > * {
470
+ .layout-4col ,
471
+ .layout-4col-2span ,
472
+ .layout-4col-3span ,
473
+ .layout-4col :not (.sidebar ) {
463
474
width : auto ;
464
475
}
465
476
}
You can’t perform that action at this time.
0 commit comments