Skip to content

Commit

Permalink
fix: Add global focus style override (#1451)
Browse files Browse the repository at this point in the history
* fix: Add global focus style override

* NetworkSelector focus

Co-authored-by: katspaugh <katspaugh@gmail.com>
  • Loading branch information
usame-algan and katspaugh authored Dec 29, 2022
1 parent f407877 commit bbc5ab5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/common/NetworkSelector/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
background: inherit;
}

.select *:focus-visible {
outline: 5px auto Highlight;
outline: 5px auto -webkit-focus-ring-color;
}

.select :global .MuiSelect-select {
padding-right: 40px !important;
padding-left: 16px;
Expand Down
7 changes: 6 additions & 1 deletion src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ button {
font: inherit;
}

:focus-visible {
outline: 5px auto Highlight;
outline: 5px auto -webkit-focus-ring-color;
}

* {
box-sizing: border-box;
}
Expand Down Expand Up @@ -104,7 +109,7 @@ input[type='number'] {
}

body.beamerAnnouncementBarTopActive {
padding-top: 0px !important;
padding-top: 0 !important;
}

#beamerLastPostTitle {
Expand Down

0 comments on commit bbc5ab5

Please sign in to comment.