瀏覽代碼

表格操作列间距调整

RuoYi 5 年之前
父節點
當前提交
5d1701fd69
共有 2 個文件被更改,包括 15 次插入1 次删除
  1. 14 0
      ruoyi-ui/src/assets/styles/ruoyi.scss
  2. 1 1
      ruoyi-ui/src/views/system/user/index.vue

+ 14 - 0
ruoyi-ui/src/assets/styles/ruoyi.scss

@@ -67,6 +67,11 @@
67 67
 			font-size: 13px;
68 68
 		}
69 69
 	}
70
+	.el-table__body-wrapper {
71
+		.el-button [class*="el-icon-"] + span {
72
+			margin-left: 1px;
73
+		}
74
+	}
70 75
 }
71 76
 
72 77
 /** 表单布局 **/
@@ -87,6 +92,14 @@
87 92
 	padding: 10px 20px !important;
88 93
 }
89 94
 
95
+/* tree border */
96
+.tree-border {
97
+    margin-top: 5px;
98
+    border: 1px solid #e5e6e7;
99
+    background: #FFFFFF none;
100
+    border-radius:4px;
101
+}
102
+
90 103
 .pagination-container .el-pagination {
91 104
 	right: 0;
92 105
 	position: absolute;
@@ -222,5 +235,6 @@
222 235
 }
223 236
 
224 237
 .top-right-btn {
238
+	position: relative;
225 239
 	float: right;
226 240
 }

+ 1 - 1
ruoyi-ui/src/views/system/user/index.vue

@@ -158,7 +158,7 @@
158 158
           <el-table-column
159 159
             label="操作"
160 160
             align="center"
161
-            width="180"
161
+            width="160"
162 162
             class-name="small-padding fixed-width"
163 163
           >
164 164
             <template slot-scope="scope">