diff --git a/crates/search/src/search_bar.rs b/crates/search/src/search_bar.rs index 0cd63922ef4deb7f19905de1bfa5fd955df02576..00eff11f8a885daaf18fbcad5cf31361c5d631cb 100644 --- a/crates/search/src/search_bar.rs +++ b/crates/search/src/search_bar.rs @@ -90,6 +90,11 @@ pub(super) fn render_nav_button( ..container_style.corner_radii }, }; + if direction == Direction::Prev { + // Remove right border so that when both Next and Prev buttons are + // next to one another, there's no double border between them. + container_style.border.right = false; + } label.with_style(container_style) }) .on_click(MouseButton::Left, on_click)