Skip to main content

Command Palette

Search for a command to run...

How to Hide table in mobile but show on large devices using tailwind!

Published
1 min read
How to Hide table in mobile but show on large devices using tailwind!
S

Frontend developer at Reliance JIO

In tailwind,

If you do "hidden lg: block" in your table row, then your table rows wont take the whole width though you have given "w-full" to your table.

In such cases, do "hidden lg:table " & yr table row will take whole width

That was the trick for the day

Thank you. Keep exploring !!!