Skip to content

Commit 5aed44f

Browse files
authored
components/search-form: Work around gap between focus shadow and submit button (#8678)
I've tried various things to make this work properly, but haven't found a proper solution. This commit works around the issue by slightly offsetting the submit button to the right. I'm not a fan of this "solution", but I've run out of ideas...
1 parent 0ed6e30 commit 5aed44f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/components/search-form.module.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
composes: button-reset from '../styles/shared/buttons.module.css';
6262

6363
position: absolute;
64-
right: 0;
64+
/* see https://github.com/rust-lang/crates.io/issues/8677 🤷 */
65+
right: -.5px;
6566
top: 0;
6667
bottom: 0;
6768
display: inline-grid;

0 commit comments

Comments
 (0)