I have found that netlify’s prerendered output is not mobile friendly. When I tested my site using Google’s mobile friendly testing tool, it says the site is not mobile friendly. “Content wider than screen” that was the error appeared for all pages. Then I found that netlify is always prerendering with screen resolution 1440x718. I have different layouts for mobile and desktop. Now netlify returns my desktop layout back to Google smartphone bot and it says my site is not mobile friendly.
Is there any way to make prerendering mobile friendly? Why netlify can’t check if the bot is mobile bot and return a mobile friendly page?