Skip to content

Commit

Permalink
fix: Stretch input's paragraph width
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Feb 9, 2025
1 parent 9cb0f1f commit c3b0cbe
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 @@ -359,7 +359,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 c3b0cbe

Please sign in to comment.