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

Negative values not working in data attribute selector #57

Open
Twansparant opened this issue Nov 6, 2024 · 1 comment
Open

Negative values not working in data attribute selector #57

Twansparant opened this issue Nov 6, 2024 · 1 comment

Comments

@Twansparant
Copy link

Twansparant commented Nov 6, 2024

Hi there,

Love your plugin!
I'm trying to add a negative fluid value to a data attribute selector, but that's not working unfortunately:

This doesn't work:

data-[size=large]:~-mt-6/20

However, this does work:

data-[size=large]:~mt-6/20

With the following markup:

<section
	class="data-[size=large]:~-mt-6/20"
	data-size="large"
/>

Is there a workaround for this?

@barvian
Copy link
Owner

barvian commented Nov 11, 2024

Hi, this definitely looks like a bug and I'm investigating it. I'm not aware of a workaround atm unfortunately 🫤

barvian added a commit that referenced this issue Nov 12, 2024
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

No branches or pull requests

2 participants