fix: button styling
This commit is contained in:
parent
5ef18de61f
commit
69ae35010f
4 changed files with 57 additions and 33 deletions
|
|
@ -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(),
|
||||
)]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue