Skip to content

Commit 6079507

Browse files
authored
do not apply padding to normative-optional ul/ol/span (#668)
1 parent 2720d8e commit 6079507

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

css/elements.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,10 +1577,13 @@ li.menu-search-result-term::before {
15771577
[deprecated],
15781578
[legacy] {
15791579
border-left: 5px solid var(--normative-optional-border-color);
1580-
padding: 0.5em;
15811580
background: var(--normative-optional-background-color);
15821581
}
15831582

1583+
:is([normative-optional], [deprecated], [legacy]):not(ul, ol, span) {
1584+
padding: 0.5em;
1585+
}
1586+
15841587
.attributes-tag {
15851588
text-transform: uppercase;
15861589
color: var(--attributes-tag-foreground-color);

test/baselines/generated-reference/assets-inline.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3191,10 +3191,13 @@
31913191
[deprecated],
31923192
[legacy] {
31933193
border-left: 5px solid var(--normative-optional-border-color);
3194-
padding: 0.5em;
31953194
background: var(--normative-optional-background-color);
31963195
}
31973196
3197+
:is([normative-optional], [deprecated], [legacy]):not(ul, ol, span) {
3198+
padding: 0.5em;
3199+
}
3200+
31983201
.attributes-tag {
31993202
text-transform: uppercase;
32003203
color: var(--attributes-tag-foreground-color);

0 commit comments

Comments
 (0)