Skip to content

Commit

Permalink
fix label border when used like sm:label
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Feb 28, 2025
1 parent 1a2862a commit 014f55a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/daisyui/src/components/label.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
&:has(input) {
@apply cursor-pointer;
}
}
.input,
.select {
.label {
&:is(.input > *, .select > *) {
@apply flex h-[calc(100%-0.5rem)] items-center px-3 whitespace-nowrap;
font-size: inherit;
&:first-child {
Expand Down

0 comments on commit 014f55a

Please # to comment.