From b0b81ba40d9513867da002b8d96992fabf46c8fb Mon Sep 17 00:00:00 2001 From: Sammy Teillet Date: Wed, 19 Apr 2023 14:46:54 +0200 Subject: [PATCH] feature: fix table layout --- front/src/components/table/ColumnHead.tsx | 2 +- front/src/components/table/Table.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/front/src/components/table/ColumnHead.tsx b/front/src/components/table/ColumnHead.tsx index 37d4c8228..a62f75f2a 100644 --- a/front/src/components/table/ColumnHead.tsx +++ b/front/src/components/table/ColumnHead.tsx @@ -11,7 +11,7 @@ const StyledTitle = styled.div` display: flex; flex-direction: row; align-items: center; - height: 40px; + height: ${(props) => props.theme.spacing(8)}; color: ${(props) => props.theme.text60}; font-weight: 500; padding-left: ${(props) => props.theme.spacing(2)}; diff --git a/front/src/components/table/Table.tsx b/front/src/components/table/Table.tsx index 2e7624f0a..79425ce35 100644 --- a/front/src/components/table/Table.tsx +++ b/front/src/components/table/Table.tsx @@ -28,7 +28,6 @@ const StyledTable = styled.table` border: 1px solid #f5f5f5; font-size: 12px; text-align: left; - padding: 11px 0 11px 4px; } `;