diff --git a/packages/daisyui/src/components/label.css b/packages/daisyui/src/components/label.css index c19f4710010..51160ad5258 100644 --- a/packages/daisyui/src/components/label.css +++ b/packages/daisyui/src/components/label.css @@ -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 {