From 7d96fb168edf4e5b0540726a4b11ad434465f488 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 15 八月 2021 08:44:16 +0800 Subject: [PATCH] 2021-08-15 --- src/views/mobdesign/index.scss | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/views/mobdesign/index.scss b/src/views/mobdesign/index.scss index 82ae4e6..e8c5144 100644 --- a/src/views/mobdesign/index.scss +++ b/src/views/mobdesign/index.scss @@ -37,6 +37,7 @@ background: #ffffff; overflow-y: auto; overflow-x: hidden; + padding-bottom: 50px; > .ant-collapse { background-color: #ffffff; @@ -149,11 +150,12 @@ position: fixed; right: 0; top: 48px; - height: 100vh; + height: calc(100vh - 48px); padding: 20px 10px; background: #ffffff; z-index: 10; transition: right 0.3s; + overflow-y: auto; .draw { position: absolute; @@ -188,6 +190,20 @@ height: 22px; } } + .menu-control::-webkit-scrollbar { + width: 2px; + } + .menu-control::-webkit-scrollbar-thumb { + border-radius: 5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08); + background: rgba(0, 0, 0, 0.08); + } + .menu-control::-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); + } .menu-control.hidden { right: -130px; } -- Gitblit v1.8.0