From 07e0f1ca98f544e5a2021f0005d1f133e42eb686 Mon Sep 17 00:00:00 2001 From: Bluepuper Date: Mon, 16 Oct 2023 16:28:42 +0300 Subject: [PATCH] feat: remove 'th-content' styles --- src/components/Table/Table.scss | 3 +-- src/components/Table/Table.tsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Table/Table.scss b/src/components/Table/Table.scss index 451c0f5b1..d80ea9c74 100644 --- a/src/components/Table/Table.scss +++ b/src/components/Table/Table.scss @@ -122,9 +122,8 @@ border-bottom-color: transparent; } - &__th-content { + &__head &__cell { @include mixins.text-accent; - display: inline-block; &::first-letter { text-transform: uppercase; } diff --git a/src/components/Table/Table.tsx b/src/components/Table/Table.tsx index 2906e1743..a462982e3 100644 --- a/src/components/Table/Table.tsx +++ b/src/components/Table/Table.tsx @@ -152,8 +152,7 @@ export class Table> extends Rea content = id; } - if (id === '_selection') return content; - return {content}; + return content; } static getBodyCellContent(