Skip to content

Commit 109f968

Browse files
committed
Fixes border overflowing commit message max-width
1 parent 476fa30 commit 109f968

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webviews/apps/plus/composer/components/commit-message.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class CommitMessage extends LitElement {
8989
9090
.commit-message__input {
9191
box-sizing: content-box;
92-
width: calc(100% - 2rem);
92+
width: calc(100% - 2.2rem);
9393
border: 1px solid var(--vscode-input-border, #858585);
9494
background: var(--vscode-input-background, #3c3c3c);
9595
vertical-align: middle;
@@ -128,7 +128,7 @@ export class CommitMessage extends LitElement {
128128
129129
.commit-message__input:has(~ .commit-message__ai-button) {
130130
padding-right: 3rem;
131-
width: calc(100% - 4rem);
131+
width: calc(100% - 4.2rem);
132132
}
133133
134134
.commit-message__input.has-explanation {

0 commit comments

Comments
 (0)