File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 60
60
height : 100% ;
61
61
position : relative ;
62
62
display : grid ;
63
- gap : 0 ;
64
63
// grid-auto-rows: min-content;
65
64
grid-template-columns : 1fr 1fr 1fr ;
66
65
grid-template-rows : 1fr 1fr 1fr ;
67
- // row-gap: calcSize(1);
66
+ row-gap : var (--lbr-cover-row-gap , var (--lbr-spacing-x150 , calcSize (1.5 )));
67
+ column-gap : var (--lbr-cover-column-gap , var (--lbr-spacing-x6 , calcSize (6 )));
68
68
}
69
69
70
70
.sv-header--height-auto {
Original file line number Diff line number Diff line change @@ -303,7 +303,8 @@ export class Cover extends Base {
303
303
const headerComputedStyle = DomDocumentHelper . getComputedStyle ( headerEl ) ;
304
304
const paddingLeft = ( parseFloat ( headerComputedStyle . paddingLeft ) || 0 ) ;
305
305
const paddingRight = ( parseFloat ( headerComputedStyle . paddingRight ) || 0 ) ;
306
- this . width = elWidth - paddingLeft - paddingRight ;
306
+ const columnGap = ( parseFloat ( headerComputedStyle . columnGap ) || 0 ) ;
307
+ this . width = elWidth - paddingLeft - paddingRight - 2 * columnGap ;
307
308
}
308
309
}
309
310
}
You can’t perform that action at this time.
0 commit comments