Skip to content

Commit 141e56a

Browse files
andrewserongoandregalmirka
authored
Textarea Component: Add default resize vertical rule (#71736)
* Textarea Component: Add default resize vertical rule * Add changelog entry * Fix changelog entry Co-authored-by: andrewserong <andrewserong@git.wordpress.org> Co-authored-by: oandregal <oandregal@git.wordpress.org> Co-authored-by: mirka <0mirka00@git.wordpress.org>
1 parent facd678 commit 141e56a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/components/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Enhancements
6+
7+
- `TextareaControl`: Add default resize: vertical rule ([#71736](https://github.com/WordPress/gutenberg/pull/71736)).
8+
59
## 30.4.0 (2025-09-17)
610

711
### Bug Fixes

packages/components/src/textarea-control/styles/textarea-control-styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export const StyledTextarea = styled.textarea`
3939
line-height: 20px;
4040
background: ${ COLORS.theme.background };
4141
color: ${ COLORS.theme.foreground };
42+
resize: vertical;
4243
4344
// Vertical padding is to match the standard 40px control height when rows=1,
4445
// in conjunction with the 20px line-height.

0 commit comments

Comments
 (0)