From 6ca240a14ccf55d4e0a94fff77e95f64db2cdfcc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 11 十月 2024 17:34:25 +0800 Subject: [PATCH] 2024-10-11 --- src/assets/css/main.scss | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 41db689..7f4eea2 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -322,6 +322,7 @@ } .ant-modal-body::-webkit-scrollbar { width: 7px; + height: 0; } .ant-modal-body::-webkit-scrollbar-thumb { border-radius: 5px; @@ -728,6 +729,49 @@ vertical-align: bottom; } } +.fixed-table-height { + tr, td, th { + overflow: hidden; + } + ::-webkit-scrollbar { + width: 17px; + height: 17px; + } + ::-webkit-scrollbar-thumb { + background: rgba(193, 193, 193, 0.7); + } + ::-webkit-scrollbar-track { + background: #fafafa; + } + .ant-table-body { + min-height: 1px; + border-bottom: 1px solid rgba(0, 0, 0, .05); + .ant-table-fixed { + border-bottom: 0; + } + } +} +@media screen and (max-width: 1400px) { + .fixed-table-height { + ::-webkit-scrollbar { + width: 16px; + } + } +} +@media screen and (min-width: 1600px) { + .fixed-table-height { + ::-webkit-scrollbar { + width: 18px; + } + } +} +@media screen and (min-width: 1900px) { + .fixed-table-height { + ::-webkit-scrollbar { + width: 21px; + } + } +} // 绯荤粺鑹茶缃� .mk-main-view { -- Gitblit v1.8.0