Skip to content

Commit

Permalink
fix input field focus-visible
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed May 3, 2024
1 parent 6395a28 commit b758655
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/src/atoms/InputField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,10 @@ function Input(props: InputFieldProps): JSX.Element {
${hasError ? COLORS.red50 : COLORS.grey60};
}
&:focus-visible {
border: 1px ${BORDERS.styleSolid}
${hasError ? COLORS.red50 : COLORS.grey60};
&&:focus-visible {
border: 1px ${BORDERS.styleSolid} ${COLORS.grey55};
outline: 2px ${BORDERS.styleSolid} ${COLORS.blue50};
outline-offset: 3px;
outline-offset: 2px;
}
&:focus-within {
Expand Down

0 comments on commit b758655

Please sign in to comment.