From 2333198ea8fdbb2c9ccf5094d6238e37cba6b2ee Mon Sep 17 00:00:00 2001 From: Terry Jia Date: Mon, 8 Dec 2025 10:18:50 -0500 Subject: [PATCH] feat: show scrollbar in VirtualGrid by default --- src/components/common/VirtualGrid.vue | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/components/common/VirtualGrid.vue b/src/components/common/VirtualGrid.vue index 89de6e421b3..134778778a6 100644 --- a/src/components/common/VirtualGrid.vue +++ b/src/components/common/VirtualGrid.vue @@ -117,16 +117,7 @@ onBeforeUnmount(() => { .scroll-container { height: 100%; overflow-y: auto; - - /* Firefox */ - scrollbar-width: none; - - &::-webkit-scrollbar { - width: 1px; - } - - &::-webkit-scrollbar-thumb { - background-color: transparent; - } + scrollbar-width: thin; + scrollbar-color: var(--dialog-surface) transparent; }