From 4090d77b89be47d2daca8a2f21e6eb076f84667f Mon Sep 17 00:00:00 2001 From: bendera Date: Tue, 21 Feb 2023 18:10:15 +0100 Subject: [PATCH] fix(Label): whitespace fix --- docs-src/components/vscode-label/index.md | 12 ++++++------ src/vscode-label.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs-src/components/vscode-label/index.md b/docs-src/components/vscode-label/index.md index 6e30dd03..e082c668 100644 --- a/docs-src/components/vscode-label/index.md +++ b/docs-src/components/vscode-label/index.md @@ -16,15 +16,15 @@ import '@bendera/vscode-webview-elements/dist/vscode-label'; Label font weight is bold by default. It can be changed to normal by wrapping it into `` element. - - Editor: Font Size - + Editor: Font Size ### HTML ```html - - Editor: Font Size - +Editor: Font Size ``` \ No newline at end of file diff --git a/src/vscode-label.ts b/src/vscode-label.ts index 87578104..544e012a 100644 --- a/src/vscode-label.ts +++ b/src/vscode-label.ts @@ -132,7 +132,7 @@ export class VscodeLabel extends VscElement { } .wrapper.required:after { - content: '*'; + content: ' *'; } :host-context(vscode-form-group[variant='settings-group']) .wrapper {