You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, not an issue but more like a question: Does minimalcss calculate the css for different viewports by default? Like for smartphones and desktops (and everything between it), or do I have to specify the viewport for each resolution and put together a css file for this?
The text was updated successfully, but these errors were encountered:
It, unfortunately, does not. It opens puppeteer with whatever it's current default viewport size is. But what you might want to do is to make sure it opens it twice! Once in a small viewport (e.g. mobile) and once in a large viewport (e.g. desktop) so that you get the union of the CSS necessary for both.
I wish there was a better mechanism to pass in options in minimalcss for how puppeteer should be opening the pages. A contribution would be most welcome.
Sorry, not an issue but more like a question: Does minimalcss calculate the css for different viewports by default? Like for smartphones and desktops (and everything between it), or do I have to specify the viewport for each resolution and put together a css file for this?
The text was updated successfully, but these errors were encountered: