From ddddb07002201150da9551875c25e75499563249 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 15 一月 2021 15:22:55 +0800
Subject: [PATCH] 2021-01-15

---
 src/assets/css/main.scss |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss
index 7031e4b..400975a 100644
--- a/src/assets/css/main.scss
+++ b/src/assets/css/main.scss
@@ -256,7 +256,31 @@
 }
 
 .ant-modal.popview-modal {
-  top: 80px;
+  top: 70px;
+  .ant-modal-body {
+    min-height: 250px;
+    max-height: calc(100vh - 210px);
+    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-wrap.popview-modal {
+  .ant-modal {
+    top: 70px;
+  }
   .ant-modal-body {
     min-height: 250px;
     max-height: calc(100vh - 210px);

--
Gitblit v1.8.0