From 8c20aa25480498ae2d7db2fb31d9adfecb1329be Mon Sep 17 00:00:00 2001 From: zhangjingwei Date: Fri, 1 Mar 2024 15:18:50 +0800 Subject: [PATCH] feat: update scrollbar style update the style of the menu scroll bar Change-Id: Ia765fd75d36b4d43b0cb694fd79e690a41a280cb --- src/layouts/Base/index.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layouts/Base/index.less b/src/layouts/Base/index.less index 80268e3d..947b8f96 100644 --- a/src/layouts/Base/index.less +++ b/src/layouts/Base/index.less @@ -77,13 +77,13 @@ } &::-webkit-scrollbar-track { - border-radius: 10px; - box-shadow: inset 0 0 6px rgba(0, 0, 0, 30%); + background-color: #f5f5f5; + border-radius: 0; } &::-webkit-scrollbar-thumb { - border-radius: 10px; - box-shadow: inset 0 0 6px rgba(0, 0, 0, 50%); + background-color: lightgray; + border-radius: 0; } :global {