fix(app): limit context drawer width when not an overlay

This commit is contained in:
Jeremy Soller 2024-10-11 08:22:45 -06:00
parent 100f75f88e
commit 8da25f94e9
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -716,6 +716,8 @@ impl<App: Application> ApplicationExt for App {
Message::Cosmic(cosmic::Message::ContextDrawer(false)),
context_width,
)
.apply(crate::widget::container)
.width(context_width)
.apply(|drawer| {
Element::from(id_container(
drawer,