Address drop UX feedback (#180343)

- Reduce margin on button
- Change icon to insert
- Try to align styling to match other editor widgets
- Use capital casing on entries
This commit is contained in:
Matt Bierner
2023-04-19 10:05:56 -07:00
committed by GitHub
parent 86528d8df2
commit 3273501a5a
4 changed files with 31 additions and 19 deletions

View File

@@ -135,15 +135,15 @@ export function createUriListSnippet(document: vscode.TextDocument, uris: readon
let label: string;
if (insertedImageCount > 0 && insertedLinkCount > 0) {
label = vscode.l10n.t('Insert Markdown images and links');
label = vscode.l10n.t('Insert Markdown Images and Links');
} else if (insertedImageCount > 0) {
label = insertedImageCount > 1
? vscode.l10n.t('Insert Markdown images')
: vscode.l10n.t('Insert Markdown image');
? vscode.l10n.t('Insert Markdown Images')
: vscode.l10n.t('Insert Markdown Image');
} else {
label = insertedLinkCount > 1
? vscode.l10n.t('Insert Markdown links')
: vscode.l10n.t('Insert Markdown link');
? vscode.l10n.t('Insert Markdown Links')
: vscode.l10n.t('Insert Markdown Link');
}
return { snippet, label };