Skip to content

Commit

Permalink
fix: add outline rule when focused
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Jun 8, 2021
1 parent 9db0632 commit e811f6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ const Select = ({ disabled, ...props }) => (
font-size: 14px;
cursor: inherit;
line-height: inherit;
outline: none;
&:focus + .focus-ring {
position: absolute;
top: -1px;
left: -1px;
right: -1px;
bottom: -1px;
border: 2px solid var(--color-brand-500);
outline: 2px solid var(--color-brand-500);
border-radius: inherit;
}
Expand Down

0 comments on commit e811f6d

Please sign in to comment.