diff --git a/plugins/chat/assets/stylesheets/mixins/chat-scrollbar.scss b/plugins/chat/assets/stylesheets/mixins/chat-scrollbar.scss index c7a098060c1..a0a5d588021 100644 --- a/plugins/chat/assets/stylesheets/mixins/chat-scrollbar.scss +++ b/plugins/chat/assets/stylesheets/mixins/chat-scrollbar.scss @@ -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); + } }