From 438f1d3243fc7f03700d9657dbefcb785600f9a4 Mon Sep 17 00:00:00 2001 From: Lucas Bordeau Date: Fri, 21 Jun 2024 16:14:17 +0200 Subject: [PATCH] Fixed RoundedLink height to reach 20px in total --- .../src/modules/ui/navigation/link/components/RoundedLink.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/twenty-front/src/modules/ui/navigation/link/components/RoundedLink.tsx b/packages/twenty-front/src/modules/ui/navigation/link/components/RoundedLink.tsx index 6ab6bd93c29f..61480f17fd2a 100644 --- a/packages/twenty-front/src/modules/ui/navigation/link/components/RoundedLink.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/link/components/RoundedLink.tsx @@ -12,7 +12,6 @@ type RoundedLinkProps = { const fontSizeMd = FONT_COMMON.size.md; const spacing1 = THEME_COMMON.spacing(1); const spacing2 = THEME_COMMON.spacing(2); -const spacing3 = THEME_COMMON.spacing(3); const spacingMultiplicator = THEME_COMMON.spacingMultiplicator; @@ -36,7 +35,7 @@ const StyledLink = styled.a<{ gap: ${spacing1}; - height: ${spacing3}; + height: 10px; justify-content: center; max-width: calc(100% - ${spacingMultiplicator} * 2px);