@@ -715,6 +715,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
715715 { t ( "prompts:roleDefinition.description" ) }
716716 </ div >
717717 < VSCodeTextArea
718+ resize = "vertical"
718719 value = { ( ( ) => {
719720 const customMode = findModeBySlug ( visualMode , customModes )
720721 const prompt = customModePrompts ?. [ visualMode ] as PromptComponent
@@ -743,7 +744,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
743744 } )
744745 }
745746 } }
746- className = "resize-y w-full"
747+ className = "w-full"
747748 rows = { 4 }
748749 data-testid = { `${ getCurrentMode ( ) ?. slug || "code" } -prompt-textarea` }
749750 />
@@ -773,6 +774,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
773774 { t ( "prompts:whenToUse.description" ) }
774775 </ div >
775776 < VSCodeTextArea
777+ resize = "vertical"
776778 value = { ( ( ) => {
777779 const customMode = findModeBySlug ( visualMode , customModes )
778780 const prompt = customModePrompts ?. [ visualMode ] as PromptComponent
@@ -797,7 +799,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
797799 } )
798800 }
799801 } }
800- className = "resize-y w-full"
802+ className = "w-full"
801803 rows = { 3 }
802804 data-testid = { `${ getCurrentMode ( ) ?. slug || "code" } -when-to-use-textarea` }
803805 />
@@ -924,6 +926,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
924926 } ) }
925927 </ div >
926928 < VSCodeTextArea
929+ resize = "vertical"
927930 value = { ( ( ) => {
928931 const customMode = findModeBySlug ( visualMode , customModes )
929932 const prompt = customModePrompts ?. [ visualMode ] as PromptComponent
@@ -955,7 +958,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
955958 }
956959 } }
957960 rows = { 4 }
958- className = "w-full resize-y "
961+ className = "w-full"
959962 data-testid = { `${ getCurrentMode ( ) ?. slug || "code" } -custom-instructions-textarea` }
960963 />
961964 < div className = "text-xs text-vscode-descriptionForeground mt-1.5" >
@@ -1092,6 +1095,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
10921095 </ Trans >
10931096 </ div >
10941097 < VSCodeTextArea
1098+ resize = "vertical"
10951099 value = { customInstructions || "" }
10961100 onChange = { ( e ) => {
10971101 const value =
@@ -1104,7 +1108,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
11041108 } )
11051109 } }
11061110 rows = { 4 }
1107- className = "w-full resize-y "
1111+ className = "w-full"
11081112 data-testid = "global-custom-instructions-textarea"
11091113 />
11101114 < div className = "text-xs text-vscode-descriptionForeground mt-1.5" >
@@ -1170,6 +1174,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
11701174 </ div >
11711175
11721176 < VSCodeTextArea
1177+ resize = "vertical"
11731178 value = { getSupportPromptValue ( activeSupportOption ) }
11741179 onChange = { ( e ) => {
11751180 const value =
@@ -1179,7 +1184,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
11791184 updateSupportPrompt ( activeSupportOption , trimmedValue || undefined )
11801185 } }
11811186 rows = { 6 }
1182- className = "resize-y w-full"
1187+ className = "w-full"
11831188 />
11841189
11851190 { activeSupportOption === "ENHANCE" && (
@@ -1230,11 +1235,12 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
12301235
12311236 < div className = "mt-4" >
12321237 < VSCodeTextArea
1238+ resize = "vertical"
12331239 value = { testPrompt }
12341240 onChange = { ( e ) => setTestPrompt ( ( e . target as HTMLTextAreaElement ) . value ) }
12351241 placeholder = { t ( "prompts:supportPrompts.enhance.testPromptPlaceholder" ) }
12361242 rows = { 3 }
1237- className = "w-full resize-y "
1243+ className = "w-full"
12381244 data-testid = "test-prompt-textarea"
12391245 />
12401246 < div className = "mt-2 flex justify-start items-center gap-2" >
@@ -1335,12 +1341,13 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
13351341 { t ( "prompts:createModeDialog.roleDefinition.description" ) }
13361342 </ div >
13371343 < VSCodeTextArea
1344+ resize = "vertical"
13381345 value = { newModeRoleDefinition }
13391346 onChange = { ( e ) => {
13401347 setNewModeRoleDefinition ( ( e . target as HTMLTextAreaElement ) . value )
13411348 } }
13421349 rows = { 4 }
1343- className = "w-full resize-y "
1350+ className = "w-full"
13441351 />
13451352 { roleDefinitionError && (
13461353 < div className = "text-xs text-vscode-errorForeground mt-1" >
@@ -1355,12 +1362,13 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
13551362 { t ( "prompts:createModeDialog.whenToUse.description" ) }
13561363 </ div >
13571364 < VSCodeTextArea
1365+ resize = "vertical"
13581366 value = { newModeWhenToUse }
13591367 onChange = { ( e ) => {
13601368 setNewModeWhenToUse ( ( e . target as HTMLTextAreaElement ) . value )
13611369 } }
13621370 rows = { 3 }
1363- className = "w-full resize-y "
1371+ className = "w-full"
13641372 />
13651373 </ div >
13661374 < div className = "mb-4" >
@@ -1401,12 +1409,13 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
14011409 { t ( "prompts:createModeDialog.customInstructions.description" ) }
14021410 </ div >
14031411 < VSCodeTextArea
1412+ resize = "vertical"
14041413 value = { newModeCustomInstructions }
14051414 onChange = { ( e ) => {
14061415 setNewModeCustomInstructions ( ( e . target as HTMLTextAreaElement ) . value )
14071416 } }
14081417 rows = { 4 }
1409- className = "w-full resize-y "
1418+ className = "w-full"
14101419 />
14111420 </ div >
14121421 </ div >
0 commit comments