Skip to content

Commit 5c8fedc

Browse files
committed
feat(notes): highlight code dark color (remove gray borders)
1 parent 89cea2d commit 5c8fedc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

apps/codever-ui/src/styles.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@ pre {
169169
border-radius: 3px;
170170
}
171171

172+
// Remove the light grey background/border when the code block uses highlight.js dark theme
173+
pre:has(code.hljs) {
174+
background-color: transparent;
175+
padding: 0;
176+
}
177+
172178
.note_normal {
173179
border-style: solid;
174180
border-width: 1px;

0 commit comments

Comments
 (0)