Skip to content

Commit 498a930

Browse files
committed
fix: make label blocks by default
1 parent 68f2c59 commit 498a930

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.changeset/purple-lamps-burn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@fuzdev/fuz_css': minor
3+
---
4+
5+
fix: make `label` blocks by default

src/lib/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ see https://caniuse.com/css-has
483483
/* TODO could improve this with the coming `:has` selector
484484
for disabled colors without needing a wrapper .disabled class */
485485
:where(label:not(.unstyled)) {
486+
display: block;
486487
color: var(--text_color);
487488
cursor: pointer;
488489
}

src/routes/fuz.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,7 @@ body {
13841384
}
13851385

13861386
:where(label:not(.unstyled)) {
1387+
display: block;
13871388
color: var(--text_color);
13881389
cursor: pointer;
13891390
}

0 commit comments

Comments
 (0)