Skip to content

Commit

Permalink
fix: Stretch input's paragraph width (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 authored Feb 9, 2025
1 parent 82fa2aa commit f3312ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/components/src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ pub fn Input(
direction: "horizontal",
show_scrollbar: false,
paragraph {
min_width: "1",
min_width: "calc(100% - 20)",
margin: "6 10",
onglobalclick,
onmousedown,
Expand Down

0 comments on commit f3312ea

Please sign in to comment.