Skip to content

Commit 46d84cf

Browse files
committed
style: highlight scrollbar on hover and change scrollbar width as thin
1 parent 1e9d8d1 commit 46d84cf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
/*! purgecss start ignore */
22
@import "../../../../mods/code-block-panel/scss/index";
33

4+
.highlight {
5+
pre {
6+
@include media-breakpoint-up(lg) {
7+
scrollbar-width: thin;
8+
9+
&:hover {
10+
scrollbar-color: var(--#{$prefix}primary) transparent;
11+
}
12+
}
13+
}
14+
}
15+
416
/*! purgecss end ignore */

0 commit comments

Comments
 (0)