-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(switch): Fix for focus outline style in certain cases (#7414)
**Related Issue:** #7402 ## Summary Fix for focus issue where container was getting the focus outline. With this change, the component is still taking up 100% width of the Label, but the focus outline is limited to the visual area. We could look at adjusting the click area in a separate update if needed. Before: <img width="427" alt="Screenshot 2023-08-01 at 11 54 31 AM" src="https://github.com/Esri/calcite-design-system/assets/4733155/5641e388-d74d-4709-80fd-4c560916edda"> After: <img width="427" alt="Screenshot 2023-08-01 at 11 54 11 AM" src="https://github.com/Esri/calcite-design-system/assets/4733155/9b9b36d8-4ec3-484a-b5bd-497585471753">
- Loading branch information
1 parent
5f70bfe
commit 217324f
Showing
2 changed files
with
24 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters