Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(preset-mini): allow shorter syntax for grid-cols utilities (#3533) #3542

Merged
merged 4 commits into from
Mar 14, 2024

Conversation

AndrewBogdanovTSS
Copy link
Contributor

Closes #3533
Makes grid- prefix optional when specifying grid-cols-[val] utility.
Before: grid-cols-2
After: cols-2

Copy link

netlify bot commented Jan 29, 2024

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit 4cd4d3b
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/65f2fb5391b3610008f2bd8a
😎 Deploy Preview https://deploy-preview-3542--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@antfu
Copy link
Member

antfu commented Jan 30, 2024

Could you help adding a few cases to the tests to guard that the usage won't be changed accidentally in the future? Thanks

@antfu antfu added this pull request to the merge queue Mar 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Mar 14, 2024
@antfu antfu added this pull request to the merge queue Mar 14, 2024
Merged via the queue into unocss:main with commit ea68fff Mar 14, 2024
9 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.

[Feature Proposal] Allow 'grid-' part to be optional when specifying grid columns
3 participants