Skip to content

Commit 2c7ee54

Browse files
[Checkbox]: Make control fill web component (#1014)
1 parent 77ba11a commit 2c7ee54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/checkbox/checkbox.svelte

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
display: inline-block;
4848
}
4949
50+
:host .leo-checkbox {
51+
width: 100%;
52+
}
53+
5054
.leo-checkbox {
5155
--focus-border-radius: var(--leo-checkbox-focus-border-radius, 2px);
5256
--label-gap: var(--leo-checkbox-label-gap, var(--leo-spacing-m));

0 commit comments

Comments
 (0)