From e9c48bd7356462ba9257540b130a47a65ad1861d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 26 八月 2021 17:17:11 +0800 Subject: [PATCH] 2021-08-26 --- src/views/mobdesign/index.scss | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/views/mobdesign/index.scss b/src/views/mobdesign/index.scss index 82ae4e6..ca8fe66 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,8 +150,7 @@ position: fixed; right: 0; top: 48px; - height: 100vh; - padding: 20px 10px; + height: calc(100vh - 48px); background: #ffffff; z-index: 10; transition: right 0.3s; @@ -187,7 +187,27 @@ width: 22px; height: 22px; } + .wrap { + height: 100%; + padding: 20px 10px; + overflow-y: auto; + } + .wrap::-webkit-scrollbar { + width: 2px; + } + .wrap::-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); + } + .wrap::-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