fix(app): remove context padding without content_container

This commit is contained in:
Vukašin Vojinović 2025-04-05 14:55:11 +02:00 committed by Jeremy Soller
parent dd1b16a353
commit 3df0e5c2fe

View file

@ -610,7 +610,7 @@ impl<App: Application> ApplicationExt for App {
))
})
.apply(container)
.padding([0, border_padding, 0, 0])
.padding([0, if content_container { border_padding } else { 0 }, 0, 0])
.apply(Element::from)
.map(crate::Action::App),
);