deadeyejoe / deck

Board games written in clojure with a polylith architecture
MIT License
4 stars 2 forks source link

Fix hyperlanes not rotating in screenshots #6

Closed PietroCarrara closed 8 months ago

PietroCarrara commented 8 months ago

The problem was that the tailwind css class rotate-... uses the transform: rotate(...) css property, which was being overridden by an inline style. The fix is just to add the proper rotate instruction to the inline transform style.

My clojure is no good, so please feel free to make any changes to the code!

Closes #5

deadeyejoe commented 8 months ago

Thanks for submitting! The fix is almost right: tailwind just greps the class names out of your code so you can't use a function to generate them without also including a list of the classes you could potentially generate. I've made this tweak myself and I'm deploying it now.

Thanks again for fixing this!