Skip to content

Commit

Permalink
Enable vertical resizing for multiline InputBase (#2845)
Browse files Browse the repository at this point in the history
Co-authored-by: Kerstin Reichinger <kerstin.reichinger@vivid-planet.com>
  • Loading branch information
kerstin97 and kerstinreichinger-vivid authored Dec 11, 2024
1 parent 29718c0 commit a4fcdeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-jars-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@comet/admin-theme": minor
---

Enable vertical resizing for `TextAreaField` and other multiline inputs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const getMuiInputBase: GetMuiComponentTheme<"MuiInputBase"> = (component,
},
inputMultiline: {
padding: `calc(${spacing(2)} - 1px)`,
resize: "vertical",
},
inputAdornedStart: {
paddingLeft: spacing(2),
Expand Down

0 comments on commit a4fcdeb

Please sign in to comment.