devserge's avatar

Tailwind grid not working

Hi, I do not know if this forum is meant for this, but after seeing the tag 'Design', I am just shooting my shot.

I’m trying to create a responsive grid layout using Tailwind CSS where a “Node Configuration Form” takes up 2/3 of the screen, and a “Summary Card” takes up 1/3. However, my current layout isn’t working as expected; both components are either the same width or not properly aligned. I've tried a lot of grid system codes, but I just get them next to eachother or they are going underneath eachother.

Can someone see what I am doing wrong?

0 likes
3 replies
carpad88's avatar

Your code is good, and it should work. I have a couple of questions that maybe could help:

Is it your Vite server running? Have you been able to make sure the tailwind classes are generated?

I tested your code, and everything works just as you want.

Ben Taylor's avatar

If you impact the elements in your developer tools, do the tailwind classes show in the style section?

Please or to participate in this conversation.