Skip to content

Commit 0f3deef

Browse files
authored
remove duplicated scrollbar definitions
1 parent 4f1aee2 commit 0f3deef

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

assets/scss/common/_dark.scss

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ body.dark .docs-navigation {
188188
}
189189

190190
body.dark pre code::-webkit-scrollbar-thumb {
191-
background: $border-dark;
191+
background: $gray-400;
192192
}
193193

194194
body.dark code:not(.hljs) {
@@ -202,7 +202,7 @@ body.dark pre code:hover {
202202
}
203203

204204
body.dark pre code::-webkit-scrollbar-thumb:hover {
205-
background: $border-dark;
205+
background: $gray-500;
206206
}
207207

208208
body.dark blockquote {
@@ -331,20 +331,3 @@ body.dark .copy-status:active::after {
331331
display: block;
332332
color: $link-color-dark;
333333
}
334-
335-
body.dark pre code::-webkit-scrollbar {
336-
height: 5px;
337-
}
338-
339-
body.dark pre code::-webkit-scrollbar-thumb {
340-
background: $gray-400;
341-
}
342-
343-
body.dark pre code:hover {
344-
scrollbar-width: thin;
345-
scrollbar-color: $gray-500 transparent;
346-
}
347-
348-
body.dark pre code::-webkit-scrollbar-thumb:hover {
349-
background: $gray-500;
350-
}

0 commit comments

Comments
 (0)