Skip to content

Commit a698488

Browse files
JoshuaZaceklucasbordeau
authored andcommitted
(5943) Match country selector button's background to phone number input's background (#5956)
Fixes #5943 ### Before Light <img width="218" alt="Screenshot 2024-06-19 at 12 37 22 PM" src="https://github.com/twentyhq/twenty/assets/57673080/981d1877-be4e-4071-9a8d-9d0ed7e933ab"> Dark <img width="223" alt="Screenshot 2024-06-19 at 12 39 42 PM" src="https://github.com/twentyhq/twenty/assets/57673080/a3730ef5-21ba-4d90-998d-d330aec350ad"> ### After Light <img width="216" alt="Screenshot 2024-06-19 at 12 39 00 PM" src="https://github.com/twentyhq/twenty/assets/57673080/eef3b743-1b28-43a5-8c1c-bd944a4915c7"> Dark <img width="228" alt="Screenshot 2024-06-19 at 12 39 29 PM" src="https://github.com/twentyhq/twenty/assets/57673080/5bf10e51-5a07-4d55-99f1-734517b22781">
1 parent 2e6227f commit a698488

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/twenty-front/src/modules/ui/field/input/components/PhoneInput.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const StyledCustomPhoneInput = styled(ReactPhoneNumberInput)`
2828
padding: 0;
2929
3030
.PhoneInputInput {
31-
background: ${({ theme }) => theme.background.transparent.secondary};
31+
background: none;
3232
border: none;
3333
color: ${({ theme }) => theme.font.color.primary};
3434

packages/twenty-front/src/modules/ui/input/components/internal/phone/components/PhoneCountryPickerDropdownButton.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type StyledDropdownButtonProps = {
2121

2222
export const StyledDropdownButtonContainer = styled.div<StyledDropdownButtonProps>`
2323
align-items: center;
24-
background: ${({ theme }) => theme.background.primary};
24+
background: none;
2525
border-radius: ${({ theme }) => theme.border.radius.xs} 0 0
2626
${({ theme }) => theme.border.radius.xs};
2727
color: ${({ color }) => color ?? 'none'};

0 commit comments

Comments
 (0)