fix: navbar fills the available height of the window

This commit is contained in:
mariinkys 2026-03-05 09:07:16 +01:00
parent ad65416551
commit 86db387ab6
No known key found for this signature in database
GPG key ID: 860E1ECD3BB7359D

View file

@ -385,9 +385,8 @@ where
.on_context(|id| crate::Action::Cosmic(Action::NavBarContext(id)))
.context_menu(self.nav_context_menu(self.core().nav_bar_context()))
.into_container()
// XXX both must be shrink to avoid flex layout from ignoring it
.width(iced::Length::Shrink)
.height(iced::Length::Shrink);
.height(iced::Length::Fill);
if !self.core().is_condensed() {
nav = nav.max_width(280);