From e0918f608ff31af403829801fe74faaf407ea10f Mon Sep 17 00:00:00 2001 From: kwasniew Date: Fri, 6 Dec 2024 12:20:33 +0100 Subject: [PATCH] fix: adjust favorite icon placement --- .../common/Table/FavoriteIconHeader/FavoriteIconHeader.tsx | 2 +- .../common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx | 4 ++-- .../ProjectFeatureToggles/RowSelectCell/RowSelectCell.tsx | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/src/component/common/Table/FavoriteIconHeader/FavoriteIconHeader.tsx b/frontend/src/component/common/Table/FavoriteIconHeader/FavoriteIconHeader.tsx index 2aec2de37fc0..0e897989cb44 100644 --- a/frontend/src/component/common/Table/FavoriteIconHeader/FavoriteIconHeader.tsx +++ b/frontend/src/component/common/Table/FavoriteIconHeader/FavoriteIconHeader.tsx @@ -30,7 +30,7 @@ export const FavoriteIconHeader: VFC = ({ > ({ - paddingLeft: theme.spacing(0), - paddingRight: theme.spacing(1), + paddingLeft: theme.spacing(2), + paddingRight: theme.spacing(0.5), })); const StyledIconButton = styled(IconButton)(({ theme }) => ({ diff --git a/frontend/src/component/project/Project/ProjectFeatureToggles/RowSelectCell/RowSelectCell.tsx b/frontend/src/component/project/Project/ProjectFeatureToggles/RowSelectCell/RowSelectCell.tsx index 172f79341611..9a911e6f21cd 100644 --- a/frontend/src/component/project/Project/ProjectFeatureToggles/RowSelectCell/RowSelectCell.tsx +++ b/frontend/src/component/project/Project/ProjectFeatureToggles/RowSelectCell/RowSelectCell.tsx @@ -12,8 +12,7 @@ interface IRowSelectCellProps { const StyledBoxCell = styled(Box)(({ theme }) => ({ display: 'flex', justifyContent: 'center', - paddingLeft: theme.spacing(1), - paddingRight: theme.spacing(0), + marginRight: theme.spacing(-2), })); export const RowSelectCell: FC = ({