mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
fix(tree-item): move label outside of checkbox
This commit is contained in:
@@ -263,12 +263,11 @@ export default class SlTreeItem extends ShoelaceElement {
|
||||
?disabled="${this.disabled}"
|
||||
?checked="${live(this.selected)}"
|
||||
?indeterminate="${this.indeterminate}"
|
||||
>
|
||||
<slot class="tree-item__label" part="label"></slot>
|
||||
</sl-checkbox>
|
||||
`,
|
||||
() => html` <slot class="tree-item__label" part="label"></slot> `
|
||||
></sl-checkbox>
|
||||
`
|
||||
)}
|
||||
|
||||
<slot class="tree-item__label" part="label"></slot>
|
||||
</div>
|
||||
|
||||
<slot
|
||||
|
||||
Reference in New Issue
Block a user