From 3683e1475e8d74f690172a468518d88d91a69ccc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 20 八月 2020 20:15:48 +0800 Subject: [PATCH] 2020-08-20 --- src/templates/modalconfig/index.scss | 23 ++++++----------------- 1 files changed, 6 insertions(+), 17 deletions(-) diff --git a/src/templates/modalconfig/index.scss b/src/templates/modalconfig/index.scss index 1ad1178..43e5a20 100644 --- a/src/templates/modalconfig/index.scss +++ b/src/templates/modalconfig/index.scss @@ -13,7 +13,7 @@ background: #ffffff; border-right: 1px solid #d9d9d9; height: 100%; - overflow-y: hidden; + overflow-y: auto; padding-bottom: 30px; .ant-collapse-item { border: 0; @@ -88,30 +88,19 @@ } } } - .tools:hover { - overflow-y: auto; - } .tools::-webkit-scrollbar { - width: 7px; + width: 4px; } .tools::-webkit-scrollbar-thumb { border-radius: 5px; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0); - background: rgba(0, 0, 0, 0); + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08); + background: rgba(0, 0, 0, 0.08); } .tools::-webkit-scrollbar-track { - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0); - border-radius: 3px; - border: 1px solid rgba(0, 0, 0, 0); - background: rgba(0, 0, 0, 0); - } - .tools:hover::-webkit-scrollbar-thumb { - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); - background: rgba(0, 0, 0, 0.13); - } - .tools:hover::-webkit-scrollbar-track { box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0); } .setting { position: relative; -- Gitblit v1.8.0