Skip to content

Commit 002c35f

Browse files
committed
Fix double focus outline on linter rule search
1 parent 89212d1 commit 002c35f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/_sass/components/_code.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
line-height: 1.25em;
1010
padding: 0.1rem 0.25rem;
1111
background-color: $site-color-light-grey;
12-
background-color: color-mix(in srgb, $site-color-light-grey 40%, transparent);
12+
background-color: color-mix(in srgb, $site-color-light-grey 35%, transparent);
1313
border: 1px solid rgb(195, 201, 214);
1414
border-radius: 0.25rem;
1515
word-wrap: break-word;

src/_sass/components/_linter-rules.scss

+4
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,10 @@ body.linter-rules {
242242
&::-webkit-search-cancel-button {
243243
display: none;
244244
}
245+
246+
&:focus {
247+
outline: none;
248+
}
245249
}
246250
}
247251
}

0 commit comments

Comments
 (0)