From eabece6918401a75a837ccc3d1c04da38848f64d Mon Sep 17 00:00:00 2001 From: Rachel Johnson <101299667+jrachelr@users.noreply.github.com> Date: Thu, 7 Mar 2024 06:37:27 -0800 Subject: [PATCH] TextInput height fix (#4327) changed text input height to 32px --- .../src/modules/ui/input/components/TextInput.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx b/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx index 1beb07271..4d8d5fa1d 100644 --- a/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx +++ b/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx @@ -60,15 +60,15 @@ const StyledInput = styled.input>` border-bottom-left-radius: ${({ theme }) => theme.border.radius.sm}; border-right: none; border-top-left-radius: ${({ theme }) => theme.border.radius.sm}; + box-sizing: border-box; color: ${({ theme }) => theme.font.color.primary}; display: flex; flex-grow: 1; font-family: ${({ theme }) => theme.font.family}; - font-weight: ${({ theme }) => theme.font.weight.regular}; + height: 32px; outline: none; padding: ${({ theme }) => theme.spacing(2)}; - width: 100%; &::placeholder,