Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit 8393660

Browse files
committed
ui-core: remove hardcoded label size in checkbox and compensate with small right padding
Signed-off-by: Alice Khoudli <[email protected]>
1 parent ecf5093 commit 8393660

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui-core/src/styles/inputs/checkbox.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
font-weight: 400;
1414
letter-spacing: 0;
1515
text-align: left;
16+
width: fit-content;
1617

1718
.label {
1819
line-height: 1.5rem;
1920
padding-top: 0.188rem;
20-
width: 12.813rem;
21+
padding-right: 0.35rem;
2122
@apply text-grey-80;
2223
}
2324

0 commit comments

Comments
 (0)