Skip to content

Commit e6dffb1

Browse files
fix code
1 parent a48b85e commit e6dffb1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

themes/hugoplate/assets/css/module-overrides.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@
5353
@apply !ml-0;
5454
}
5555

56-
code {
56+
/* Styling for code blocks (within pre tags) */
57+
pre code {
5758
color: #f8f8f2 !important;
5859
}
5960

6061
/* For dark mode specifically */
6162
@media (prefers-color-scheme: dark) {
62-
code {
63+
pre code {
6364
color: #f8f8f2 !important;
6465
}
6566
}

0 commit comments

Comments
 (0)