mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
Do not crush labels with nested tags (#1274)
* Adjust label styles for button and checkbox components to not crush space of nested tags * Adjust label styles for button and checkbox components to not crush space of nested tags * Update packages/webawesome/src/components/checkbox/checkbox.css --------- Co-authored-by: Tobias Bannwart <tobias.bannwart@bison-group.com> Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
This commit is contained in:
@@ -184,6 +184,10 @@
|
||||
}
|
||||
|
||||
.label {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.is-icon-button .label {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,10 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
[part~='label'] {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* Checked */
|
||||
[part~='control']:has(:checked, :indeterminate) {
|
||||
color: var(--checked-icon-color);
|
||||
|
||||
Reference in New Issue
Block a user