fix: button styling

This commit is contained in:
Ashley Wulber 2025-02-18 11:34:27 -05:00
parent 5ef18de61f
commit 69ae35010f
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
4 changed files with 57 additions and 33 deletions

View file

@ -441,7 +441,14 @@ impl Core {
trees
.into_iter()
.map(|mt| {
menu::Tree::<_>::with_children(mt.0.width(Length::Fill), mt.1)
menu::Tree::<_>::with_children(
mt.0.width(Length::Fill)
.height(Length::Fixed(36.0))
.padding([4, 16])
.class(crate::theme::Button::MenuItem)
.force_enabled(true),
mt.1,
)
})
.collect(),
)]),