Skip to content

Commit 0b94dd7

Browse files
committed
fix: widen settings edit modal and clip TextInput overflow
The settings edit modal had min_w 380px, which was too narrow for typical filesystem paths and let the TextInput overflow visually. Pin the modal width at 640px and wrap the input cell with overflow_hidden + min_w_0 so long values clip cleanly inside the field instead of bleeding past it.
1 parent 7561148 commit 0b94dd7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/app.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2144,7 +2144,7 @@ impl Render for App {
21442144
.flex()
21452145
.flex_col()
21462146
.gap(px(styles::spacing::SM))
2147-
.min_w(px(380.0))
2147+
.w(px(640.0))
21482148
.child(
21492149
div()
21502150
.text_size(px(styles::font_size::HEADING))
@@ -2188,9 +2188,12 @@ impl Render for App {
21882188
.flex_row()
21892189
.gap(px(styles::spacing::SM))
21902190
.items_center()
2191+
.w_full()
21912192
.child(
21922193
div()
21932194
.flex_1()
2195+
.min_w_0()
2196+
.overflow_hidden()
21942197
.px(px(styles::spacing::MD))
21952198
.py(px(10.0))
21962199
.rounded(px(styles::radius::MD))

0 commit comments

Comments
 (0)