File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
src/webviews/apps/plus/composer/components Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -289,15 +289,23 @@ export class CommitsPanel extends LitElement {
289289 }
290290 .auto-compose__instructions-input {
291291 width: 100%;
292- padding: 0.6rem ;
292+ padding: 0.5rem ;
293293 border: 1px solid var(--vscode-input-border);
294294 border-radius: 3px;
295295 background: var(--vscode-input-background);
296296 color: var(--vscode-input-foreground);
297297 font-family: inherit;
298298 font-size: 1rem;
299+ line-height: 1.6rem;
300+ }
301+ textarea.auto-compose__instructions-input {
302+ box-sizing: content-box;
303+ width: calc(100% - 1rem);
299304 resize: vertical;
300- min-height: 2.4rem;
305+ field-sizing: content;
306+ min-height: 1lh;
307+ max-height: 4lh;
308+ resize: none;
301309 }
302310
303311 .auto-compose__instructions-input::placeholder {
@@ -1043,14 +1051,14 @@ export class CommitsPanel extends LitElement {
10431051
10441052 <!-- Custom instructions input -->
10451053 < div class ="auto-compose__instructions ">
1046- < input
1047- type ="text "
1054+ < textarea
10481055 class ="auto-compose__instructions-input "
10491056 placeholder ="Include additional instructions "
10501057 .value =${ this . customInstructions }
1058+ rows ="1"
10511059 @input=${ this . handleCustomInstructionsChange }
10521060 ?disabled=${ disabled }
1053- / >
1061+ > </ textarea >
10541062 < gl-button ?disabled =${ disabled } appearance ="toolbar" class="auto-compose__instructions-info">
10551063 < code-icon icon ="info "> </ code-icon >
10561064 < div slot ="tooltip ">
You can’t perform that action at this time.
0 commit comments