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

Using calc() makes entire variant group invalid #225

Closed
wvffle opened this issue Jul 27, 2021 · 1 comment
Closed

Using calc() makes entire variant group invalid #225

wvffle opened this issue Jul 27, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@wvffle
Copy link

wvffle commented Jul 27, 2021

When using md:(w-1/2 h-[calc(100%-4rem)]), windicss does not translate it to md:w-1/2 md:h-[calc(100%-4rem)]) it just stays the same as it has been written initially.

I'm using vite-plugin-windicss if it matters

@wvffle wvffle changed the title Using calc() in variant group does not work Using calc() makes entire variant group invalid Jul 27, 2021
@alexanderniebuhr alexanderniebuhr transferred this issue from windicss/windicss Aug 24, 2021
@alexanderniebuhr
Copy link
Member

/cc @antfu

@antfu antfu added the bug Something isn't working label Aug 24, 2021
@antfu antfu closed this as completed in 89577db Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants