chore: 表格样式

This commit is contained in:
dap 2024-11-10 12:54:04 +08:00
parent db5c1487cb
commit 75779da35c
2 changed files with 8 additions and 11 deletions

View File

@ -92,9 +92,14 @@
padding: 0;
}
.vxe-buttons--wrapper:not(:empty),
.vxe-tools--wrapper:not(:empty) {
padding: 0.6em 0;
/** 关闭搜索表单 */
.vxe-grid:not(.vxe-grid--form-wrapper form) .vxe-toolbar {
padding: 0.6em 0 !important;
}
/** 开启搜索表单 */
.vxe-grid:has(.vxe-grid--form-wrapper form) .vxe-toolbar {
padding: 0 0 0.6em !important;
}
.vxe-tools--operate:not(:has(button)) {

View File

@ -71,14 +71,6 @@ vxe表格右上角toolbar元素之间的间距
margin-left: 8px !important;
}
/**
覆盖vxe-table的toolbar样式 由于默认已经有了padding 需要去除上边的padding
需要判断是否开启查询表单
*/
.vxe-grid:has(.vxe-grid--form-wrapper form) .vxe-toolbar {
padding: 0 0 0.6em !important;
}
/**
vxe默认圆角
*/