mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
remove scrollbar height and border-radius
In order to match the theme presentation (https://i.imgur.com/cCiHOGS.jpg), the previous defined `height: 7px` and `border-radius: 10px` for the scrollbar have been deleted.
This commit is contained in:
parent
0210219983
commit
e31777b985
@ -52,20 +52,11 @@
|
|||||||
margin-bottom: var(--section-separation);
|
margin-bottom: var(--section-separation);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|
||||||
/* scrollbar styles for Firefox */
|
/* Scrollbar styles for Firefox */
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
|
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
|
||||||
|
|
||||||
/* scrollbar styles for Chromium */
|
/* Scrollbar styles for Chromium */
|
||||||
&::-webkit-scrollbar {
|
|
||||||
height: 7px;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&::-webkit-scrollbar-thumb, &::-webkit-scrollbar-track {
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&::-webkit-scrollbar-thumb {
|
&::-webkit-scrollbar-thumb {
|
||||||
background-color: var(--scrollbar-thumb);
|
background-color: var(--scrollbar-thumb);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user