form(field): Fix label line break not working (#1558)

This commit is contained in:
Floyd Wang 2025-11-11 18:36:10 +08:00 committed by GitHub
parent 2dbfba3490
commit fbc3a6e4f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -290,8 +290,6 @@ impl RenderOnce for Field {
this.text_size(size)
})
.font_medium()
.flex()
.flex_row()
.gap_1()
.items_center()
.when_some(self.label, |this, builder| {