fix(app): limit context drawer width when not an overlay
This commit is contained in:
parent
100f75f88e
commit
8da25f94e9
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue