-
-
Notifications
You must be signed in to change notification settings - Fork 966
Closed
Description
UnoCSS version
66.5.1
Describe the bug
I noticed that the space- classes stopped applying spacing between children after I updated from 66.4.2 to 66.5.1.
<!-- This doesn't work -->
<div class="space-y-4 divide-y-2 divide-fuchsia-400">
<p>Hello world!</p>
<h2 class="text-2xl border-amber-600">Big text</h2>
<p>Goodbye</p>
</div>
<div class="mt-8" />
<!-- This works -->
<div class="space-y-4 divide-y-2 divide-fuchsia-400">
<div>Hello world!</div>
<div class="text-2xl border-amber-600">Big text</div>
<div>Goodbye</div>
</div>It seems to be specific to non-div elements, but I’m not really sure. This same structure works in Tailwind4:
https://play.tailwindcss.com/2aea1fBPUR
Reproduction
System Info
System:
OS: macOS 15.6.1
CPU: (16) arm64 Apple M3 Max
Memory: 80.06 MB / 48.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Edge: 140.0.3485.66
Safari: 18.6
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels