From 146aa272f75586fae002e00db943f16799b661a5 Mon Sep 17 00:00:00 2001 From: RDMStreet Date: Mon, 5 Apr 2021 17:02:46 +0000 Subject: [PATCH] Fix table selection padding --- src/styles/table.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/styles/table.scss b/src/styles/table.scss index e441199a..24d54032 100644 --- a/src/styles/table.scss +++ b/src/styles/table.scss @@ -27,8 +27,10 @@ padding-left: 16px; padding-right: 16px; } -.el-table:not(.el-table--border) .el-table-column--selection + td > .cell { - padding-left: 0; +.el-table:not(.el-table--border) .el-table-column--selection { + + th > .cell, + td > .cell { + padding-left: 0; + } } .el-table--border th:first-child .cell, .el-table--border td:first-child .cell {