Skip to content

Commit 54025f7

Browse files
committed
fix: Update the code-rule admonition overrides to the new label markup
One of the upstream commits changed something that meant that captions were rendered uppercase again. This should fix it again.
1 parent 40ac14d commit 54025f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/src/css/admonition.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111

1212
/* Don't use uppercase for captions */
13-
& .icon {
13+
& td.icon i::after {
1414
text-transform: none;
1515
}
1616
}
@@ -31,7 +31,7 @@
3131
/* Adjust styles for the "wrong" code style rule usage */
3232
.doc .admonitionblock.code-rule.warning {
3333
/* Change the color of the "important" admonition back to the default red */
34-
& .icon {
34+
& td.icon i {
3535
background-color: #e40046;
3636
}
3737

0 commit comments

Comments
 (0)