Skip to content

Commit 75ab45d

Browse files
committed
fix(brand): Rules for code-block-line-height
1 parent 51cf4f1 commit 75ab45d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shiny/ui/_theme_brand.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def __str__(self):
9696
},
9797
"monospace_block": {
9898
"family": ["font-family-monospace-block"],
99-
"line_height": ["pre-line-height"],
99+
"line_height": ["code-block-line-height"],
100100
"color": ["pre-color"],
101101
"background_color": ["pre-bg"],
102102
"weight": ["code-block-font-weight"],
@@ -276,6 +276,7 @@ def __init__(
276276
"code-inline-font-size": None,
277277
"code-block-font-weight": None,
278278
"code-block-font-size": None,
279+
"code-block-line-height": None,
279280
"link-bg": None,
280281
"link-weight": None,
281282
}
@@ -381,6 +382,7 @@ def __init__(
381382
pre {
382383
font-weight: $code-block-font-weight;
383384
font-size: $code-block-font-size;
385+
line-height: $code-block-line-height;
384386
}
385387
386388
@if variable-exists(brand--background) {

0 commit comments

Comments
 (0)