Currently, .btn-xs and othere size rules comes later than .btn-circle/.btn-square. This makes e.g. .btn-square:where(.btn-xs) produce a different padding due to cascade.
To solve this and improve compatability with regular Daisy, this PR adds square/circle buttons to a layer that comes after components. The end result is that left/right padding is correctly set to 0 instead of 0.5rem.
Fixes a discrepancy between DaisyUI with TW.
Currently,
.btn-xs
and othere size rules comes later than.btn-circle
/.btn-square
. This makes e.g..btn-square:where(.btn-xs)
produce a different padding due to cascade.To solve this and improve compatability with regular Daisy, this PR adds square/circle buttons to a layer that comes after components. The end result is that left/right padding is correctly set to
0
instead of0.5rem
.Before
After