ZhaoJun 1 anno fa
parent
commit
b05b51c9fa
2 ha cambiato i file con 25 aggiunte e 3 eliminazioni
  1. 20 0
      src/global.less
  2. 5 3
      src/pages/TaskManage/Popup/index.less

+ 20 - 0
src/global.less

@@ -114,6 +114,26 @@ body {
   .ant-picker-dropdown .ant-picker-time-panel {
     width: 4.5rem;
   }
+
+  .ant-modal-root .ant-modal-mask {
+    border-radius: 0.5rem;
+    background-color: rgba(0, 0, 0, 0.2);
+  }
+
+  .ant-modal-wrap {
+    &::-webkit-scrollbar {
+      display: none;
+    }
+    &::-webkit-scrollbar-thumb {
+      display: none;
+    }
+    &::-webkit-scrollbar-track {
+      display: none;
+    }
+    &::-webkit-scrollbar-thumb:hover {
+      display: none;
+    }
+  }
 }
 
 // Remove list styles on ul, ol

+ 5 - 3
src/pages/TaskManage/Popup/index.less

@@ -1,17 +1,19 @@
 .pages {
   height: 100vh;
+  background-color: white;
+  border-radius: 0.5rem;
 }
 
 .modalContainer {
   * {
     font-family: Source Han Sans, Source Han Sans;
   }
-  background-color: white;
+
   border-radius: 0.5rem;
   padding: 0.3rem;
-  height: 9.4rem;
-
+  height: 9.45rem;
   overflow-y: scroll;
+
   :global {
     .ant-tabs > .ant-tabs-nav,
     .ant-tabs > div > .ant-tabs-nav {