File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/_patterns/01-core/05-objects/bolt-grid-object Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
#GRID
3
3
========================================================================== */
4
4
5
+ /* *
6
+ * 1. Workaround to Safari layout getting thrown off when using a negative letter-spacing to remove inline-block whitespace
7
+ * @TODO: remove when v1 grid with CSS Grid support rolls out
8
+ * 2. Reset local font-size inheritance to prevent components w/o default font sizes from breaking
9
+ */
5
10
.o-bolt-grid {
11
+ font-size : 0 ; /* stylelint-disable-line */ /* [1] */
6
12
margin : 0 ;
7
13
padding : 0 ;
8
14
list-style : none ;
9
15
margin-left : bolt-spacing (medium ) * -1 ;
10
- letter-spacing : bolt-spacing (medium ) * -1 ;
11
16
flex : 1 1 auto ; // Automatically auto fill any available space, in case a grid is nested inside of a flexbox-friendly parent container.
12
17
}
13
18
14
19
.o-bolt-grid__cell {
15
20
display : inline-block ;
16
21
vertical-align : top ;
17
22
padding-left : bolt-spacing (medium );
18
- letter-spacing : normal ;
23
+ font-size : 1 rem ; /* stylelint-disable-line */ /* [2] */
19
24
}
20
25
21
26
You can’t perform that action at this time.
0 commit comments