Skip to content

Commit 266827e

Browse files
jakerachleffdqbd
authored andcommitted
nit: make a nicer code block border for json (#490)
1 parent 101270b commit 266827e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/css/custom.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ html[data-theme="dark"] {
8989
.theme-code-block.language-typescript,
9090
.theme-code-block.language-ts,
9191
.theme-code-block.language-shell,
92+
.theme-code-block.language-json,
9293
.theme-code-block.language-bash {
9394
position: relative; /* Ensure this is set so the ::before pseudo-element is positioned relative to this element */
9495
padding-left: 4px;
@@ -101,6 +102,7 @@ html[data-theme="dark"] {
101102
.theme-code-block.language-typescript::before,
102103
.theme-code-block.language-ts::before,
103104
.theme-code-block.language-shell::before,
105+
.theme-code-block.language-json::before,
104106
.theme-code-block.language-bash::before {
105107
content: "";
106108
position: absolute;

0 commit comments

Comments
 (0)