Room challenge using Tailwind + Typescript + Nextjs

Solution retrospective
I came up with some very... interesting... code to make Tailwind work "dynamically". While this didn't really take that much time or effort to do (for excellent results!), I'd like to know if there's a better way to handle the dynamic padding and spacing needed to make the arrow buttons line up correctly every time with Tailwind.
Any feedback is welcome!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on uncoolzero's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord