From 57eaa01d351bb86c55b1ee4c4f22c8c97b28be6e Mon Sep 17 00:00:00 2001 From: Ngan Phan Date: Wed, 2 Oct 2024 00:39:46 -0700 Subject: [PATCH] Adjust Floating Input Padding and Border Color (#7328) This PR fix the padding and border color of floating text input #7286 The text area automatically has padding of 4px so I reset it to 0 and adjusting container padding to 8px. --- .../src/modules/ui/field/input/components/TextAreaInput.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/twenty-front/src/modules/ui/field/input/components/TextAreaInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/TextAreaInput.tsx index c2da43576..f9778f17b 100644 --- a/packages/twenty-front/src/modules/ui/field/input/components/TextAreaInput.tsx +++ b/packages/twenty-front/src/modules/ui/field/input/components/TextAreaInput.tsx @@ -36,10 +36,10 @@ const StyledTextArea = styled(TextareaAutosize)` `; const StyledTextAreaContainer = styled.div` - border: ${({ theme }) => `1px solid ${theme.border.color.light}`}; + border: ${({ theme }) => `1px solid ${theme.border.color.medium}`}; position: relative; width: 100%; - padding: ${({ theme }) => theme.spacing(2)} ${({ theme }) => theme.spacing(1)}; + padding: ${({ theme }) => theme.spacing(2)} ${({ theme }) => theme.spacing(0)}; border-radius: ${({ theme }) => theme.border.radius.sm}; background: ${({ theme }) => theme.background.primary}; `;