I can't apply justify-content: center to div #tailwind
Please guys tell me why i cannot apply justify-content: center...
It works in the navbar.
Sorry for the noob question


15 Replies
you need w-full
but for next only
text-center
@Neto ok, but what is a reason I cannot simply apply justify-center to that div? does tailwind block it due to lack of other properties? When I add it in devtools it works fine
you only set the height to be max
not the width

still not working
one second
works fine for me
must be something outside doing it
ok thanks guys, when i find out whats going on i'll give you a sign 🙂

maybe due to fact im exporting those two components to the page. I've just installed next and tailwind, anyway as I said i'll give you a sign

w-full is 100% of the parent, so I'd check the main layout's css
ok im moron, guess thats because of that, i've changed folder structure...

have to update content config
did it work?
yep, it turned out to be guilty... thanks a lot