Skip to content

Commit

Permalink
fix: Match focus border radius with button's
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuf-musleh committed May 1, 2024
1 parent 5715dca commit f5a8afb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/search-modal/SearchModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
// The current Open edX theme makes the search field square but the button round and it looks bad. We need this
// hacky override until the theme is fixed to be more consistent.
border-radius: 0;

// Needed so the the focus borders matches the button's borders
&:focus::before {
border-radius: 0;
}
}
}

Expand Down

0 comments on commit f5a8afb

Please sign in to comment.