mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 20:42:05 +03:00
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.
This commit is contained in:
parent
d7dd41e7e4
commit
57eaa01d35
@ -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};
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user