Skip to content

Commit 87fafcb

Browse files
committed
Fix ol attributes start, reversed
1 parent 942d0b9 commit 87fafcb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/styles.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,20 @@ module.exports = {
2626
fontWeight: '600',
2727
},
2828
ol: {
29-
counterReset: 'list-counter',
29+
listStyleType: 'decimal',
30+
listStylePosition: 'inside',
3031
},
3132
'ol > li': {
33+
display: 'block',
3234
position: 'relative',
33-
counterIncrement: 'list-counter',
3435
},
3536
'ol > li::before': {
36-
content: 'counter(list-counter) "."',
37+
content: '""',
38+
display: "list-item",
3739
position: 'absolute',
3840
fontWeight: '400',
3941
color: defaultTheme.colors.gray[600],
42+
letterSpacing: defaultTheme.letterSpacing.tight
4043
},
4144
'ul > li': {
4245
position: 'relative',

0 commit comments

Comments
 (0)