Skip to content

Commit c5fe2d9

Browse files
committed
fix: adjustments
1 parent 4dee4e0 commit c5fe2d9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.changeset/seven-mayflies-sleep.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@strapi/design-system": patch
33
---
44

5-
Allow vertically resizing Textarea
5+
fix: allow vertically resizing Textarea

packages/design-system/src/components/Textarea/Textarea.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,14 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
5454
);
5555

5656
const Wrapper = styled<BoxComponent>(Box)<{ $hasError?: boolean }>`
57-
min-height: 10.5rem;
5857
${inputFocusStyle()}
5958
`;
6059

6160
const TextareaElement = styled<BoxComponent<'textarea'>>(Box)`
61+
display: block;
6262
border: none;
6363
resize: vertical;
64+
min-height: 10.5rem;
6465
6566
&::placeholder {
6667
color: ${({ theme }) => theme.colors.neutral600};

0 commit comments

Comments
 (0)