Skip to content

Commit c515805

Browse files
committed
fixed:表格增加左右-1px的边距,防止表格边框线导致宽度超出页面从而无限延伸的bug。
1 parent 613ba9b commit c515805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/style/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
.gva-table-box {
1313
@apply p-4 bg-white text-slate-700 dark:text-slate-400 dark:bg-slate-900 rounded m-2;
1414
.el-table{
15-
@apply border-x border-t border-b-0 rounded border-table-border border-solid;
15+
@apply border-x border-t border-b-0 rounded border-table-border border-solid -mx-[1px];
1616
}
1717
}
1818

0 commit comments

Comments
 (0)