UNPKG

@aplus-frontend/ui

Version:

75 lines (73 loc) 1.87 kB
@import '../mixins/mixins.less'; // 因为在ApTable里面可能会查询表单因此表单和控件的样式最好直接导入 @import '../ap-form/index.less'; @import '../ap-field/index.less'; @import '../ap-action/item.less'; @import '../ap-action/item-dropdown.less'; .b(editable-table, { .ant-form-item { margin-bottom: 16px; } &__header-cell--required { color: #FF4D4F; padding-right: 2px; } .ant-pagination { margin-bottom: 0 !important; .ant-pagination-total-text { flex: 1; } } tr > th.ant-table-cell { &::before { display: none; } background-color: var(--ap-table-header-bg, #F2F6F9); } .ant-table.ant-table-middle .ant-table-row .ant-table-cell:has(.is-editable) { padding-top: 16px; padding-bottom: 0px; } .ant-table.ant-table-middle .ant-table-row .ant-table-cell{ padding: 12px; } .ant-table.ant-table-middle .ant-table-thead .ant-table-cell { padding: 12px; } .ant-table.ant-table-small .ant-table-row .ant-table-cell:has(.is-editable) { padding-top: 16px; padding-bottom: 0px; } .ant-table.ant-table-small .ant-table-row .ant-table-cell { padding: 8px; } .ant-table.ant-table-small .ant-table-thead .ant-table-cell { padding: 8px; } .ant-table-placeholder .ant-table-expanded-row-fixed { &::after { border-inline-end-width: 0px !important; } } .ant-table-cell .ant-typography { margin-bottom: 0; } .ant-form-item-explain-error { text-align: left; } &-table-header { &__title { display: -webkit-inline-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; white-space: normal; max-width: 100%; vertical-align: middle; word-break: break-all; flex: 1; text-align: right; } } });