Skip to content

Commit

Permalink
fix(context_drawer): remove content padding
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
git-f0x authored and mmstick committed Nov 10, 2024
1 parent c310f4c commit 2909d37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/widget/context_drawer/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
);
Expand Down

0 comments on commit 2909d37

Please sign in to comment.