fix(css): apply Line Spacing to list elements, closes #3494 (#3498)

This commit is contained in:
Huang Xin
2026-03-09 21:01:44 +08:00
committed by GitHub
parent 04737d6f35
commit 99f8a29326
+5
View File
@@ -316,6 +316,11 @@ const getLayoutStyles = (
hanging-punctuation: allow-end last;
widows: 2;
}
li {
line-height: ${lineSpacing} ${overrideLayout ? '!important' : ''};
-webkit-hyphens: ${hyphenate ? 'auto' : 'manual'};
hyphens: ${hyphenate ? 'auto' : 'manual'};
}
p.aligned-center, blockquote.aligned-center,
dd.aligned-center, div.aligned-center {
text-align: center ${overrideLayout ? '!important' : ''};