Skip to content

Commit 00d8c47

Browse files
authored
Merge pull request #21 from easyops-cn/steve/cell-status
fix(): fix table cell padding
2 parents 2c9a30e + 6fdbc1c commit 00d8c47

File tree

2 files changed

+8
-32
lines changed

2 files changed

+8
-32
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
:root {
2-
--eo-table-head-cell-padding: 14px 12px;
2+
--eo-table-head-cell-padding: 14px 16px;
33
--eo-table-head-cell-height: 51px;
4-
--eo-table-body-cell-padding: 11px 12px;
4+
--eo-table-body-cell-padding: 11px 16px;
55
--eo-table-body-cell-height: 45px;
66
}
77

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

1212
eo-next-table[size="large"] {
13-
--eo-table-body-cell-padding: 9px 12px;
13+
--eo-table-body-cell-padding: 9px 16px;
1414
--eo-table-body-cell-height: 45px;
1515
}
1616

1717
eo-next-table[size="middle"] {
18-
--eo-table-head-cell-padding: 7px 12px;
18+
--eo-table-head-cell-padding: 7px 16px;
1919
--eo-table-head-cell-height: 37px;
20-
--eo-table-body-cell-padding: 6px 12px;
20+
--eo-table-body-cell-padding: 6px 16px;
2121
--eo-table-body-cell-height: 39px;
2222
}
2323

2424
eo-next-table[size="small"] {
25-
--eo-table-head-cell-padding: 3px 12px;
25+
--eo-table-head-cell-padding: 3px 16px;
2626
--eo-table-head-cell-height: 29px;
27-
--eo-table-body-cell-padding: 1px 12px;
27+
--eo-table-body-cell-padding: 1px 16px;
2828
--eo-table-body-cell-height: 31px;
2929
}
3030
}

bricks/advanced/src/next-table/styles.shadow.css

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -73,30 +73,6 @@
7373
height: var(--eo-table-body-cell-height);
7474
}
7575

76-
.ant-table-wrapper
77-
.ant-table-container
78-
table
79-
> thead
80-
> tr:first-child
81-
> *:first-child,
82-
.ant-table-tbody .ant-table-row .ant-table-cell:first-child {
83-
padding-left: 16px;
84-
}
85-
86-
.ant-table-wrapper
87-
.ant-table-container
88-
table
89-
> thead
90-
> tr:first-child
91-
> *:last-child,
92-
.ant-table-tbody .ant-table-row .ant-table-cell:last-child {
93-
padding-right: 16px;
94-
}
95-
96-
/* .ant-table-wrapper .ant-table-tbody .ant-table-cell {
97-
padding: var(--eo-table-body-cell-padding);
98-
} */
99-
10076
.ant-table-ping-left .ant-table-cell-fix-left-last::after {
10177
box-shadow: var(--left-slide-shadow);
10278
}

0 commit comments

Comments
 (0)