Skip to content

Commit

Permalink
fix(Label): whitespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bendera committed Feb 21, 2023
1 parent 2731f52 commit 4090d77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docs-src/components/vscode-label/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<span class="normal"></span>` element.

<component-preview>
<vscode-label for="select-01" side-aligned="end" required>
<span class="normal">Editor:</span> Font Size
</vscode-label>
<vscode-label for="select-01" side-aligned="end" required
><span class="normal">Editor:</span> Font Size</vscode-label
>
</component-preview>
### HTML

```html
<vscode-label for="select-01" side-aligned="end" required>
<span class="normal">Editor:</span> Font Size
</vscode-label>
<vscode-label for="select-01" side-aligned="end" required
><span class="normal">Editor:</span> Font Size</vscode-label
>
```
2 changes: 1 addition & 1 deletion src/vscode-label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class VscodeLabel extends VscElement {
}
.wrapper.required:after {
content: '*';
content: ' *';
}
:host-context(vscode-form-group[variant='settings-group']) .wrapper {
Expand Down

0 comments on commit 4090d77

Please sign in to comment.