Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 1246dbd

Browse files
Hubert KosterHubert Koster
authored andcommitted
chore: allowing trailing spaces in table
1 parent f839bfd commit 1246dbd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/features/dashboard/components/Table/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const Table = <T extends object>({
4343
return (
4444
<tr key={row.getRowProps().key} {...row.getRowProps()}>
4545
{row.cells.map((cell) => {
46+
console.log(cell);
4647
return (
4748
<td key={cell.getCellProps().key} {...cell.getCellProps()}>
4849
{cell.render('Cell', getCustomCellProps(cell))}

src/features/dashboard/components/Table/table.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
td:first-child,
4040
th:first-child {
4141
padding-left: rem(3.2);
42+
white-space: pre;
4243
}
4344

4445
tbody tr {

0 commit comments

Comments
 (0)