From 8bc1c1f8cf628efb149f0331ddd491b4c000009d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 02 七月 2023 22:43:15 +0800 Subject: [PATCH] 2023-07-02 --- src/assets/css/design.scss | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/assets/css/design.scss b/src/assets/css/design.scss index 5d11010..e7a8ac6 100644 --- a/src/assets/css/design.scss +++ b/src/assets/css/design.scss @@ -52,6 +52,30 @@ } } } +.ant-modal-wrap.mk-scroll-modal { + .ant-modal { + top: 50px; + } + .ant-modal-body { + min-height: 150px; + max-height: calc(100vh - 170px); + overflow-y: auto; + } + .ant-modal-body::-webkit-scrollbar { + width: 7px; + } + .ant-modal-body::-webkit-scrollbar-thumb { + border-radius: 5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); + background: rgba(0, 0, 0, 0.13); + } + .ant-modal-body::-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); + } +} .ant-modal { .ant-radio-group { -- Gitblit v1.8.0