mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 17:36:53 +08:00
FIX: show scrollbars under firefox in chat (#21587)
This commit is contained in:
parent
06ea37e591
commit
230a71b264
@ -6,6 +6,7 @@
|
||||
scrollbar-color: transparent var(--scrollbarBg);
|
||||
transition: scrollbar-color 0.25s ease-in-out;
|
||||
|
||||
// chrome, safari
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: var(--scrollbarThumbBg);
|
||||
border-radius: calc(var(--scrollbarWidth) / 2);
|
||||
@ -19,4 +20,24 @@
|
||||
&::-webkit-scrollbar {
|
||||
width: var(--scrollbarWidth);
|
||||
}
|
||||
|
||||
// firefox
|
||||
& {
|
||||
scrollbar-color: var(--scrollbarThumbBg) var(--scrollbarBg);
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
&::-moz-scrollbar-thumb {
|
||||
background-color: var(--scrollbarThumbBg);
|
||||
border-radius: calc(var(--scrollbarWidth) / 2);
|
||||
border: calc(var(--scrollbarWidth) / 4) solid var(--secondary);
|
||||
}
|
||||
|
||||
&::-moz-scrollbar-track {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&::-moz-scrollbar {
|
||||
width: var(--scrollbarWidth);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user