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).
This commit is contained in:
Vukašin Vojinović 2024-11-10 01:22:27 +01:00 committed by Michael Murphy
parent c310f4ca24
commit 2909d37b58

View file

@ -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),
);