Skip to content

Commit

Permalink
feat: remove 'th-content' styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluepuper committed Oct 19, 2023
1 parent ed41ed8 commit 07e0f1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/Table/Table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,8 @@
border-bottom-color: transparent;
}

&__th-content {
&__head &__cell {
@include mixins.text-accent;
display: inline-block;
&::first-letter {
text-transform: uppercase;
}
Expand Down
3 changes: 1 addition & 2 deletions src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ export class Table<I extends TableDataItem = Record<string, string>> extends Rea
content = id;
}

if (id === '_selection') return content;
return <span className={b('th-content')}>{content}</span>;
return content;
}

static getBodyCellContent<I extends TableDataItem>(
Expand Down

0 comments on commit 07e0f1c

Please sign in to comment.