Skip to content

feat(preset-wind4): add scrollbar gutter utilities - #5224

Merged
zyyv merged 1 commit into
unocss:mainfrom
cyphercodes:cyphercodes/scrollbar-gutter-wind4
Jun 18, 2026
Merged

zyyv merged 1 commit into
unocss:mainfrom
cyphercodes:cyphercodes/scrollbar-gutter-wind4

Conversation

@cyphercodes

@cyphercodes cyphercodes commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add Wind4 scrollbar-gutter utilities matching Tailwind CSS v4.3 (scrollbar-gutter-auto, scrollbar-gutter-stable, scrollbar-gutter-both)
  • cover the generated CSS and responsive variant behavior in preset-wind4 tests

Fixes #5223.

Tests

  • pnpm --filter @unocss/preset-wind4... run build
  • pnpm exec vitest run test/preset-wind4.test.ts
  • pnpm exec eslint packages-presets/preset-wind4/src/rules/scrolls.ts test/preset-wind4.test.ts

@cyphercodes
cyphercodes requested review from antfu and zyyv as code owners June 17, 2026 15:37
@netlify

netlify Bot commented Jun 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit da0a865
🔍 Latest deploy log https://app.netlify.com/projects/unocss/deploys/6a32bf587ca72e00092229aa
😎 Deploy Preview https://deploy-preview-5224--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@zyyv
zyyv enabled auto-merge June 18, 2026 02:53
@pkg-pr-new

pkg-pr-new Bot commented Jun 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

commit: da0a865

@zyyv
zyyv added this pull request to the merge queue Jun 18, 2026
Merged via the queue into unocss:main with commit e41b2d5 Jun 18, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wind4: scrollbar-gutter feature is missing

2 participants