fix text box position

This commit is contained in:
yuni 2024-03-28 20:53:54 +01:00
parent 4602ee0504
commit 0b193e53ad

View file

@ -309,8 +309,8 @@ fn setup(
width: Val::Percent(50.), width: Val::Percent(50.),
align_items: AlignItems::Start, align_items: AlignItems::Start,
position_type: PositionType::Absolute, position_type: PositionType::Absolute,
bottom: Val::VMin(10.0), bottom: Val::Vh(10.0),
left: Val::VMin(25.0), left: Val::Vw(25.0),
..default() ..default()
}, },
..default() ..default()