Skip to content

Commit

Permalink
6234/segmented control focus (keystonejs#6235)
Browse files Browse the repository at this point in the history
* update segmented control focus styles to exclude external bounding element

* changeset
  • Loading branch information
gwyneplaine authored and Nikitoring committed Sep 14, 2021
1 parent a09f8d5 commit 0e8e399
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/proud-impalas-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-ui/segmented-control': patch
---

Fixed segmented-control focus style.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,6 @@ export const SegmentedControl = ({
<Root
css={css`
border: 1px solid #e1e5e9;
&:focus-within {
box-shadow: 0 0 0 2px #bfdbfe;
border: 1px solid #166bff;
}
`}
fill={fill}
size={size}
Expand Down

0 comments on commit 0e8e399

Please sign in to comment.