kopia lustrzana https://github.com/shoelace-style/shoelace
fix(tree-item): move label outside of checkbox
rodzic
6e2ea508db
commit
b37be46ba3
|
|
@ -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
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue