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

Added support for raw queries and container-type: size #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

akbar-idwise
Copy link

No description provided.

@CedericPrivat
Copy link

Would love to see this implemented!

I thought using an arbitrary value on the container utility class (@container-[size]) would work but for some reason, it doesn't add the CSS class. The TailwindCSS Intellisense plugin shows the correct CSS property though.
Screenshot 2023-07-04 at 19 56 04

@sarimarton
Copy link
Contributor

The arbitrary value not working is a bug I confirm. They have the code for it and the test code suggests this case is covered as well, although their test result expectation is missing the class, and the test is giving a false pass.

A feasible workaround for now is using arbitrary CSS:

<div class="[container-type:size]"></div>

I agree, btw, that it'd make much more sense to support all the types without the square brackets.

@CodeZeno
Copy link

CodeZeno commented May 9, 2024

@container-[size] seems to work now.

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.

None yet

4 participants