@media not working when deploying with Vercel


I have deployed my website through vercel, and it went fine. But AM using @media for mobile and tablets views and its not working on vercel. Can someone please help me ?

Hi Pooja,

Thank you for contributing to the Prismic community.
At first glance, it seems that it is an issue with your website code on your end, but I will try to troubleshoot this with you.

Can you please tell us what is the technology you are using, and if possible, a code snippet of the media script that doesn't work.

It would also be great to share your repository name (in a private message if necessary).

Looking forward to your reply,


Hello @Fares,

Thanks for your help, I just deployed it again and its working perfectly fine.
I guess I had deployed it wrongly the first time.

Thanks so much for your help.


1 Like

Good news, thanks for letting us know.