From 8269bee01c8dbbecd90ebf01fb420a4a72739b90 Mon Sep 17 00:00:00 2001 From: zhangtony239 Date: Sat, 17 May 2025 22:14:12 +0800 Subject: [PATCH 1/2] fix: Add vertical resize to VSCodeTextArea internal part --- webview-ui/src/index.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webview-ui/src/index.css b/webview-ui/src/index.css index 99fb05435d..92abe093fe 100644 --- a/webview-ui/src/index.css +++ b/webview-ui/src/index.css @@ -421,3 +421,8 @@ input[cmdk-input]:focus { a:focus { outline: 1px solid var(--vscode-focusBorder); } + +/* Attempt to style VSCodeTextArea's internal textarea part if it exists */ +vscode-text-area::part(control) { + resize: vertical; +} From 5cc76190fee5203075891cc6aa35cd23cc57f029 Mon Sep 17 00:00:00 2001 From: zhangtony239 Date: Sun, 18 May 2025 07:37:21 +0800 Subject: [PATCH 2/2] Update note in #3701 --- webview-ui/src/index.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webview-ui/src/index.css b/webview-ui/src/index.css index 92abe093fe..aa67c04e79 100644 --- a/webview-ui/src/index.css +++ b/webview-ui/src/index.css @@ -422,7 +422,9 @@ a:focus { outline: 1px solid var(--vscode-focusBorder); } -/* Attempt to style VSCodeTextArea's internal textarea part if it exists */ +/* + * Attempt to style VSCodeTextArea's internal textarea part if it exists + */ vscode-text-area::part(control) { resize: vertical; }