Skip to content

Commit fdca123

Browse files
committed
Small alignment of prompt attachment button
For microsoft#13572 Use consistent icon and don't add border
1 parent 39bf4cf commit fdca123

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/vs/workbench/contrib/chat/browser/attachments/promptAttachments/promptAttachmentWidget.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ export class PromptAttachmentWidget extends Disposable {
157157
},
158158
),
159159
);
160-
removeButton.icon = Codicon.x;
160+
161+
removeButton.icon = Codicon.close;
161162
this.renderDisposables.add(removeButton.onDidClick((e) => {
162163
e.stopPropagation();
163164
this.model.dispose();

src/vs/workbench/contrib/chat/browser/media/chat.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,14 +1042,6 @@ have to be updated for changes to the rules above, or to support more deeply nes
10421042
border-style: dashed;
10431043
opacity: 0.75;
10441044
}
1045-
.chat-attached-context .chat-prompt-attachment .monaco-button {
1046-
border-left: 1px solid var(--vscode-chat-requestBorder, var(--vscode-input-background, transparent));
1047-
margin-left: 3px;
1048-
}
1049-
.chat-attached-context .chat-prompt-attachment.error .monaco-button,
1050-
.chat-attached-context .chat-prompt-attachment.warning .monaco-button {
1051-
border-left-color: currentColor;
1052-
}
10531045
.chat-attached-context .chat-prompt-attachment:focus .monaco-button {
10541046
border-color: var(--vscode-focusBorder);
10551047
}

0 commit comments

Comments
 (0)