refactor(ui): use v_flex/h_flex helpers in components
This commit is contained in:
@@ -2247,15 +2247,12 @@ impl RenderOnce for Input {
|
||||
input.child(edge_zone("input-prefix", prefix))
|
||||
})
|
||||
.child(
|
||||
div()
|
||||
h_flex()
|
||||
.relative()
|
||||
.flex_1()
|
||||
.min_w_0()
|
||||
.h_full()
|
||||
.overflow_hidden()
|
||||
.flex()
|
||||
.flex_row()
|
||||
.items_center()
|
||||
.when_some(line_height, |region, line_height| {
|
||||
region.items_start().line_height(line_height)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user