Skip to content

Commit 17136ca

Browse files
Updated styling
1 parent b5a8a78 commit 17136ca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_code-blocks/webflow-theme.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Highlight JS - Webflow Theme */
2-
.hljs {
2+
pre {
33
display: block;
44
position: relative;
55
background-color: #404040;
@@ -11,21 +11,21 @@
1111
border-radius: 6px;
1212
margin: 0;
1313
}
14-
.hljs code {
14+
.hljs {
1515
display: block;
1616
overflow-x: auto;
1717
padding: 16px;
1818
background-color: #2b2b2b;
1919
}
20-
.hljs code::-webkit-scrollbar {
20+
.hljs::-webkit-scrollbar {
2121
height: 15px;
2222
background-color: transparent;
2323
border-top: 1px solid black;
2424
}
25-
.hljs code::-webkit-scrollbar-thumb {
25+
.hljs::-webkit-scrollbar-thumb {
2626
background-color: #4d4d4d;
2727
}
28-
.hljs code::-webkit-scrollbar-track {
28+
.hljs::-webkit-scrollbar-track {
2929
background-color: transparent;
3030
}
3131
.hljs-keyword {

0 commit comments

Comments
 (0)