mirror of
https://github.com/twentyhq/twenty.git
synced 2025-01-06 03:45:15 +03:00
Improve phone input display (#4968)
Small UI improvements to border / display on phone input field
This commit is contained in:
parent
5477665e5d
commit
9d992143ff
@ -22,7 +22,8 @@ type StyledDropdownButtonProps = {
|
||||
export const StyledDropdownButtonContainer = styled.div<StyledDropdownButtonProps>`
|
||||
align-items: center;
|
||||
background: ${({ theme }) => theme.background.primary};
|
||||
border-radius: ${({ theme }) => theme.border.radius.xs};
|
||||
border-radius: ${({ theme }) => theme.border.radius.xs} 0 0
|
||||
${({ theme }) => theme.border.radius.xs};
|
||||
color: ${({ color }) => color ?? 'none'};
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
@ -35,6 +36,8 @@ export const StyledDropdownButtonContainer = styled.div<StyledDropdownButtonProp
|
||||
padding-right: ${({ theme }) => theme.spacing(2)};
|
||||
user-select: none;
|
||||
|
||||
border-right: 1px solid ${({ theme }) => theme.border.color.light};
|
||||
|
||||
&:hover {
|
||||
filter: brightness(0.95);
|
||||
}
|
||||
@ -50,7 +53,7 @@ const StyledIconContainer = styled.div`
|
||||
svg {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
height: 16px;
|
||||
height: 12px;
|
||||
justify-content: center;
|
||||
}
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user