Skip to content

Commit

Permalink
Fix double focus outline on linter rule search
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Jan 22, 2025
1 parent 89212d1 commit 002c35f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/_sass/components/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
line-height: 1.25em;
padding: 0.1rem 0.25rem;
background-color: $site-color-light-grey;
background-color: color-mix(in srgb, $site-color-light-grey 40%, transparent);
background-color: color-mix(in srgb, $site-color-light-grey 35%, transparent);
border: 1px solid rgb(195, 201, 214);
border-radius: 0.25rem;
word-wrap: break-word;
Expand Down
4 changes: 4 additions & 0 deletions src/_sass/components/_linter-rules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ body.linter-rules {
&::-webkit-search-cancel-button {
display: none;
}

&:focus {
outline: none;
}
}
}
}
Expand Down

0 comments on commit 002c35f

Please sign in to comment.