diff --git a/src/components/Table/STable.vue b/src/components/Table/STable.vue
index 1f6410a2..7edfd715 100644
--- a/src/components/Table/STable.vue
+++ b/src/components/Table/STable.vue
@@ -58,7 +58,7 @@
diff --git a/src/components/Table/STableColumn.vue b/src/components/Table/STableColumn.vue
index 1ca47e3a..53d6d4a2 100644
--- a/src/components/Table/STableColumn.vue
+++ b/src/components/Table/STableColumn.vue
@@ -5,7 +5,7 @@
:label="label"
:column-key="columnKey"
:prop="prop"
- :width="width"
+ :width="computedWidth"
:min-width="minWidth"
:fixed="fixedPosition || false"
:render-header="renderHeader"
@@ -18,7 +18,7 @@
:show-overflow-tooltip="showOverflowTooltip"
:align="align"
:header-align="headerAlign"
- :class-name="headerAlign"
+ :class-name="className"
:label-class-name="labelClassName"
:selectable="selectable"
:reserve-selection="reserveSelection"
@@ -34,9 +34,11 @@
diff --git a/src/styles/table.scss b/src/styles/table.scss
index 9c85d481..65d8c232 100644
--- a/src/styles/table.scss
+++ b/src/styles/table.scss
@@ -22,6 +22,14 @@
}
}
}
+.el-table:not(.el-table--border) th > .cell,
+.el-table:not(.el-table--border) td > .cell {
+ padding-left: 16px;
+ padding-right: 16px;
+}
+.el-table:not(.el-table--border) .el-table-column--selection > .cell {
+ padding-right: 0;
+}
.el-table--border th:first-child .cell,
.el-table--border td:first-child .cell {
padding-left: 13px;