From bc18f2e159afc392d6dc3a22bf2df5c74b099d13 Mon Sep 17 00:00:00 2001 From: Bluepuper Date: Wed, 7 Jun 2023 22:49:54 +0300 Subject: [PATCH] fix(withTableSelection): implement requested changes --- src/components/Table/Table.scss | 10 +++++++++- .../hoc/withTableSelection/withTableSelection.tsx | 1 - 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/Table/Table.scss b/src/components/Table/Table.scss index 0774ca4dc1..78cf2d1551 100644 --- a/src/components/Table/Table.scss +++ b/src/components/Table/Table.scss @@ -60,7 +60,15 @@ line-height: variables.$tableLineHeight; text-align: left; overflow-wrap: break-word; - min-width: 18px; + min-width: 17px; + + &:first-child { + padding-left: 0; + } + + &:last-child { + padding-right: 0; + } &:not(&_word-wrap) { @include mixins.overflow-ellipsis(); diff --git a/src/components/Table/hoc/withTableSelection/withTableSelection.tsx b/src/components/Table/hoc/withTableSelection/withTableSelection.tsx index 8fe8ea5d66..eaeef158bc 100644 --- a/src/components/Table/hoc/withTableSelection/withTableSelection.tsx +++ b/src/components/Table/hoc/withTableSelection/withTableSelection.tsx @@ -94,7 +94,6 @@ export function withTableSelection( }: { checked: boolean; disabled: boolean; - headCell?: boolean; handler: React.ChangeEventHandler; }) { return (