ソースを参照

取消table边框

zhuth 6 年 前
コミット
c49e0dd2a4

+ 5 - 3
src/components/admin/userGroupManagement.less

@@ -8,8 +8,9 @@
         background: white;
         &>.ant-layout-sider-children {
             height: 100%;
-            border-right: 1px solid #ededed;
             padding: 37px 5px;
+            border: 1px solid #ededed;
+            border-radius: 2px;
             .search-area {
                 margin-top: -32px;
             }
@@ -51,6 +52,9 @@
         padding: 46px 0 0 0;
         margin-left: 12px;
         overflow: hidden;
+        background: #fff;
+        border: 1px solid #ededed;
+        border-radius: 2px;
         .groupname {
             height: 46px;
             display: flex;
@@ -60,8 +64,6 @@
             padding: 8px 8px 8px 12px;
             color: #2c82be;
             font-size: 16px;
-            border-radius: 4px 4px 0 0;
-            background: #e6eefe;
             .buttons {
                 display: flex;
                 button {

+ 4 - 0
src/themes/default/base.less

@@ -36,6 +36,10 @@
     margin-top: 10px;
     overflow: auto !important;
 }
+.ant-table-small {
+    border: none;
+    border-radius: 0;
+}
 .ant-table-small > .ant-table-content > .ant-table-body {
     margin: 0;
 }