mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-01 08:36:37 -05:00
Fix scrollbar styles (#3275)
This commit is contained in:
parent
3df1f9ed19
commit
69ea86f3cd
|
|
@ -397,27 +397,31 @@
|
|||
|
||||
.scrollbar,
|
||||
textarea {
|
||||
@supports not selector(::-webkit-scrollbar) {
|
||||
/* Firefox, Chrome 121+, Safari 18.2+ */
|
||||
@supports (scrollbar-color: auto) {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--color-bg-higher) transparent;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar,
|
||||
&::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
/* Legacy */
|
||||
@supports not (scrollbar-color: auto) {
|
||||
&::-webkit-scrollbar,
|
||||
&::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: var(--color-base-4);
|
||||
border-radius: var(--radius-full);
|
||||
border: 4px solid transparent;
|
||||
background-clip: content-box;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: var(--color-base-4);
|
||||
border-radius: var(--radius-full);
|
||||
border: 4px solid transparent;
|
||||
background-clip: content-box;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-corner {
|
||||
background-color: transparent;
|
||||
&::-webkit-scrollbar-corner {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user