From 70f422f8b269626f5098edf2cfd1bba37f3e6681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vuka=C5=A1in=20Vojinovi=C4=87?= Date: Sun, 10 Nov 2024 01:22:27 +0100 Subject: [PATCH] fix(context_drawer): remove content padding This is so that the scrollbar can be at the edge of the context drawer. Apps will need to specify this padding for everything that goes below the header (if using a scrollable, it should be applied before the scrollable). --- src/widget/context_drawer/widget.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/widget/context_drawer/widget.rs b/src/widget/context_drawer/widget.rs index 5f6560cf..ea4aa3c6 100644 --- a/src/widget/context_drawer/widget.rs +++ b/src/widget/context_drawer/widget.rs @@ -67,7 +67,6 @@ impl<'a, Message: Clone + 'static> ContextDrawer<'a, Message> { let pane = column::with_capacity(2).push(header).push( container(drawer.into()) - .padding([0, space_l, space_l, space_l]) .height(Length::Fill) .width(Length::Shrink), );