Skip to content

Commit

Permalink
fix: Put padding back for readOnly textarea (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon authored Sep 27, 2023
1 parent 91d89ab commit 78c7f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inputs/TextFieldBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export function TextFieldBase<X extends Only<TextFieldXss, X>>(props: TextFieldB
)}
{multiline
? (inputProps.value as string | undefined)?.split("\n\n").map((p, i) => (
<p key={i}>
<p key={i} css={Css.py1.$}>
{p.split("\n").map((sentence, j) => (
<span key={j}>
{sentence}
Expand Down

0 comments on commit 78c7f52

Please sign in to comment.