diff --git a/res/css/structures/_AutoHideScrollbar.pcss b/res/css/structures/_AutoHideScrollbar.pcss index 610e63e5377..834770d83a1 100644 --- a/res/css/structures/_AutoHideScrollbar.pcss +++ b/res/css/structures/_AutoHideScrollbar.pcss @@ -1,16 +1,19 @@ /* Copyright 2018-2024 New Vector Ltd. +Copyright 2024 Suguru Hirahara SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only Please see LICENSE files in the repository root for full details. */ -/* make any scrollbar grey and thin */ +/* make any scrollbar grey */ html { scrollbar-color: $scrollbar-thumb-color transparent; } +/* SC: disabled */ /* scrollbar-width is not inherited (but -color is, why?!), */ /* so declare it on every element */ +/* * { scrollbar-width: thin; } @@ -19,6 +22,7 @@ html { width: 6px; height: 6px; } +*/ ::-webkit-scrollbar-thumb { border-radius: 3px;