#Tailwind Responsive Design
1 messages ยท Page 1 of 1 (latest)
u mean flex
Something like hidden md:inline on the buttons.
i just have to make the button responsive
may be just render other component when on smaller device
using hooks
Yeah, there're different approaches, so I wonder which is the simpliest.
If I understand correctly, you want to hide some buttons under certain size?
Oh, so you don't have access to individual buttons.
yeah
If the library doesn't support it, you might need to just make the UI yourself.
Good refactoring practice to get rid of dependencies when it doesn't work like you wanted.
how to hide these dots
Looking through the react-paginate docs, the prop seems to be breakLabel="...", so maybe add breakLabel=""
๐ there's a bunch of other display options to fine-tune how you want it to look https://tailwindcss.com/docs/display
might be md:block or something, play around a bit.
block level element
One thing you can do is revert real quick, inspect element and see what display- css it originally is.
๐