refactor(ui): use v_flex/h_flex helpers in components
Rust / build (macos-latest, stable) (push) Waiting to run
Rust / build (ubuntu-latest, stable) (push) Waiting to run
Rust / build (windows-latest, stable) (push) Waiting to run

This commit is contained in:
2026-11-20 08:43:28 +07:00
parent 01c3ced1c7
commit 7962c2c50e
10 changed files with 25 additions and 49 deletions
+1 -4
View File
@@ -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)
})