Set width and height for slot label

This commit is contained in:
Hadi Nategh 2022-08-03 17:24:43 +02:00
parent bd555ec4d1
commit 420a491e34

View File

@ -46,9 +46,11 @@ export class Et2Switch extends Et2InputWidget(SlotMixin(SlSwitch))
.switch__thumb {
z-index: var(--sl-z-index-tooltip);
}
.label {
::slotted(span.label)
{
width: var(--width);
display: inline-flex;
height: var(--height);
}
`,
];