Fix focus on Radio
parent
6cc5390e37
commit
413e3cde83
|
@ -133,9 +133,6 @@ const Label = styled.label<{ $hideRadio?: boolean; htmlFor?: string }>`
|
|||
css`
|
||||
margin-top: -1px;
|
||||
`}
|
||||
:focus ${VisibleRadio} {
|
||||
${FocusStyle}
|
||||
}
|
||||
`
|
||||
|
||||
export const LabelBody = styled(Body)<{
|
||||
|
@ -162,6 +159,10 @@ export const InputRadio = styled.input`
|
|||
border-color: ${({ theme }) => theme.colors.bases.primary[700]};
|
||||
}
|
||||
|
||||
:focus + ${VisibleRadio} {
|
||||
${FocusStyle}
|
||||
}
|
||||
|
||||
:checked + ${VisibleRadio} ${InsideCircle} {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue