Unbreak toolbar layout & improve disabling ButtonLike
This commit is contained in:
parent
d516ae0d8a
commit
ce16e5b54a
3 changed files with 30 additions and 34 deletions
|
@ -250,7 +250,7 @@ impl RenderOnce for ButtonLike {
|
|||
.id(self.id.clone())
|
||||
.h(self.size.height())
|
||||
.rounded_md()
|
||||
.cursor_pointer()
|
||||
.when(!self.disabled, |el| el.cursor_pointer())
|
||||
.gap_1()
|
||||
.px_1()
|
||||
.bg(self.style.enabled(cx).background)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue