From d7dc01d39620b5fd14c8eaf5114eb75f93f10f35 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Wed, 27 Mar 2024 14:30:05 +0100 Subject: [PATCH] fix: adjust table spacing (#6715) --- .../component/common/Table/PaginatedTable/PaginatedTable.tsx | 3 ++- .../common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/common/Table/PaginatedTable/PaginatedTable.tsx b/frontend/src/component/common/Table/PaginatedTable/PaginatedTable.tsx index fa1a88550ee..34556e7de8f 100644 --- a/frontend/src/component/common/Table/PaginatedTable/PaginatedTable.tsx +++ b/frontend/src/component/common/Table/PaginatedTable/PaginatedTable.tsx @@ -28,7 +28,8 @@ const HeaderCell = (header: Header) => { onClick={() => column.toggleSorting()} styles={{ borderRadius: '0px', - padding: 0, + paddingTop: 0, + paddingBottom: 0, width, maxWidth: fixedWidth, minWidth: fixedWidth, diff --git a/frontend/src/component/common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx b/frontend/src/component/common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx index 8015fd21101..17344924ff9 100644 --- a/frontend/src/component/common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx +++ b/frontend/src/component/common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx @@ -5,6 +5,7 @@ import StarBorderIcon from '@mui/icons-material/StarBorder'; import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; const StyledCell = styled(Box)(({ theme }) => ({ + paddingLeft: theme.spacing(2), paddingRight: theme.spacing(0.5), }));