Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions bricks/advanced/src/next-table/host-context.css
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
:root {
--eo-table-head-cell-padding: 14px 12px;
--eo-table-head-cell-padding: 14px 16px;
--eo-table-head-cell-height: 51px;
--eo-table-body-cell-padding: 11px 12px;
--eo-table-body-cell-padding: 11px 16px;
--eo-table-body-cell-height: 45px;
}

html[data-ui="v8-2"] {
--eo-table-head-cell-padding: 9px 12px;
--eo-table-head-cell-padding: 9px 16px;
--eo-table-head-cell-height: 41px;

eo-next-table[size="large"] {
--eo-table-body-cell-padding: 9px 12px;
--eo-table-body-cell-padding: 9px 16px;
--eo-table-body-cell-height: 45px;
}

eo-next-table[size="middle"] {
--eo-table-head-cell-padding: 7px 12px;
--eo-table-head-cell-padding: 7px 16px;
--eo-table-head-cell-height: 37px;
--eo-table-body-cell-padding: 6px 12px;
--eo-table-body-cell-padding: 6px 16px;
--eo-table-body-cell-height: 39px;
}

eo-next-table[size="small"] {
--eo-table-head-cell-padding: 3px 12px;
--eo-table-head-cell-padding: 3px 16px;
--eo-table-head-cell-height: 29px;
--eo-table-body-cell-padding: 1px 12px;
--eo-table-body-cell-padding: 1px 16px;
--eo-table-body-cell-height: 31px;
}
}
24 changes: 0 additions & 24 deletions bricks/advanced/src/next-table/styles.shadow.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,30 +73,6 @@
height: var(--eo-table-body-cell-height);
}

.ant-table-wrapper
.ant-table-container
table
> thead
> tr:first-child
> *:first-child,
.ant-table-tbody .ant-table-row .ant-table-cell:first-child {
padding-left: 16px;
}

.ant-table-wrapper
.ant-table-container
table
> thead
> tr:first-child
> *:last-child,
.ant-table-tbody .ant-table-row .ant-table-cell:last-child {
padding-right: 16px;
}

/* .ant-table-wrapper .ant-table-tbody .ant-table-cell {
padding: var(--eo-table-body-cell-padding);
} */

.ant-table-ping-left .ant-table-cell-fix-left-last::after {
box-shadow: var(--left-slide-shadow);
}
Expand Down
Loading