Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Translate doesn't appear to support arbitrary values #77

Closed
pheuter opened this issue Mar 16, 2021 · 4 comments
Closed

Translate doesn't appear to support arbitrary values #77

pheuter opened this issue Mar 16, 2021 · 4 comments

Comments

@pheuter
Copy link

pheuter commented Mar 16, 2021

<div class="mr-[-9.5rem]"></div>
<div class="translate-x-[-9.5rem]"></div>

The first <div> works as expected, but the second one does not appear to have the corresponding Tailwind utility class generated.

@adamwathan
Copy link
Member

Just tested and it is generated — are you just missing the transform class for it to take affect?

<div class="transform translate-x-[-9.5rem]"></div>

@pheuter
Copy link
Author

pheuter commented Mar 16, 2021

Hm, weird, I have transform-gpu on it, will investigate further and see if there's something weird in my build process, thanks.

@pheuter
Copy link
Author

pheuter commented Mar 16, 2021

Just some weirdness in my build process, sorry for bothering! @adamwathan

p.s. tailwind-jit is absolutely wonderful ✨ thanks for all your work!

@adamwathan
Copy link
Member

Cool no problem glad it is working! 🙌

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants