diff --git a/crates/ui/src/components/scrollbar.rs b/crates/ui/src/components/scrollbar.rs index 631093e631..264fee566e 100644 --- a/crates/ui/src/components/scrollbar.rs +++ b/crates/ui/src/components/scrollbar.rs @@ -999,7 +999,7 @@ impl Element for ScrollbarEl let width = self.state.read(cx).width.to_pixels(); let additional_padding = if thumb_ranges.len() == 2 { - width + SCROLLBAR_PADDING + width } else { Pixels::ZERO };