Skip to content

Commit b0cb151

Browse files
committed
Consistency between align and indent
Paragraph indent should use the same filtering as text align in order to be consistent
1 parent 6d4adff commit b0cb151

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

css/src/modules/user-settings-submodules/ReadiumCSS-paraIndent_pref.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
Repo: https://github.com/readium/css */
88

9-
:root[style*="--USER__paraIndent"] p {
9+
:root[style*="--USER__paraIndent"] p:not([class*="title"]):not(blockquote p):not(figcaption p):not(header p):not(hgroup p):not(div:has(+ *) > h1 + p):not(div:has(+ *) > p:has(+ h1)) {
1010
text-indent: var(--USER__paraIndent) !important;
1111
}
1212

0 commit comments

Comments
 (0)