From 0e8696df846e067ea2915f0a02fa63b8b7f4789c Mon Sep 17 00:00:00 2001 From: MrSubidubi Date: Tue, 26 Aug 2025 11:37:39 +0200 Subject: [PATCH] Improve padding --- crates/ui/src/components/scrollbar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };