소스 검색

style: 手机端css优化

outaozhen 5 년 전
부모
커밋
b85ffd8677
1개의 변경된 파일과 6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/pages/Workbench/Dashboard/index.less

+ 6 - 0
src/pages/Workbench/Dashboard/index.less

@@ -5,6 +5,12 @@
   :global(.ant-pro-basicLayout-content) {
     margin: 24px 24px 0 24px !important;
   }
+
+  @media (max-width: 767.98px) {
+    .ant-pro-basicLayout-content {
+      margin: 0 !important;
+    }
+  }
   &::-webkit-scrollbar {
     display: none;
   }