shadcn ui table
hello, shadcn ui table not responsive on mobile, if anyone ever encounter the same problem please letme know thanks!
21 Replies
You should be able to go into your components/ui folder and edit the shadcn component to your liking, in this case one of the common ways would be around tablet size add a horizontal scroll
I don't think that's shadcn/ui but I think it's just your layout effecting it
already remove all the layout, still the same tho
any idea?
have you tried actually on your phone
cuz sometimes dev tools is fucked
yea i found this when i showing of my webapp to my friend, so embarrasing lel
well did you use devtools to see what was there in the white space
it just html
aaand i give up, good luck
thanks tho
hmmm
what does your globals.css look like is tailwind all set up correctly?
html should be the full window not smaller like your video
heres the globals.css
any thing wrong
something I noticed is I am not quite sure you can have multiple @layer base {} calls? I am not 100% positive about that but I combined mine personally
but that also might be unrelated too
i combine the base @layer base but still doin the same thing
bummer
yep
Just wrap it up in a div with full width.
the problem was the dropdown on each cell lol
thanks tho
Oh, lol. Good to know it’s been solved then!