Skip to content

Commit

Permalink
components/search-form: Work around gap between focus shadow and subm…
Browse files Browse the repository at this point in the history
…it 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...
  • Loading branch information
Turbo87 committed May 19, 2024
1 parent 0ed6e30 commit 5aed44f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/search-form.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
composes: button-reset from '../styles/shared/buttons.module.css';

position: absolute;
right: 0;
/* see https://github.com/rust-lang/crates.io/issues/8677 🤷 */
right: -.5px;
top: 0;
bottom: 0;
display: inline-grid;
Expand Down

0 comments on commit 5aed44f

Please sign in to comment.