Explorar el Código

fix: 抽屉宽度的调整

outaozhen hace 4 años
padre
commit
4bb3d4dec0
Se han modificado 1 ficheros con 12 adiciones y 2 borrados
  1. 12 2
      src/global.less

+ 12 - 2
src/global.less

@@ -194,9 +194,19 @@ input:-webkit-autofill:active {
 
 .zh-drawer.ant-drawer-open {
   // width: 100% !important; // mask: false
-  > .ant-drawer-content-wrapper {
-    width: 70% !important;
+  @media (min-width: 992px) {
+    > .ant-drawer-content-wrapper {
+      width: 90% !important;
+    }
+  }
+  @media (min-width: 1200px) {
+    > .ant-drawer-content-wrapper {
+      width: 70% !important;
+    }
   }
+  // > .ant-drawer-content-wrapper {
+  //   width: 70% !important;
+  // }
   .ant-drawer-header {
     padding: 0 !important;
     .ant-drawer-header-title {