Tomasz Gałkowski
Tomasz Gałkowski

Reputation: 1929

MaterializeCSS + Meteor mobile grid not working?

here is a webpage that I ask about

I use Meteor (Coffeescript + Jade + Stylus) with MaterializeCSS as front-end framework. I use grid (I think) properly. You can reproduce the problem I am facing by going there and resizing the web browser to the the mobile size. The grid will nicely adapt.

But when you try to actually go there on a mobile device the collapsible button will show but the rest of the page will look exactly like on a desktop making the page unreadable.

Any tips? Is this Meteor's fault or Materialize's? Also if you take a look here:

marky.meteor.com <- it will work and behave as intended and that page ALSO uses MaterializeCSS.

Any ideas why that happens and where the problem might lie?

Upvotes: 0

Views: 336

Answers (1)

GUISSOUMA Issam
GUISSOUMA Issam

Reputation: 2582

Add this to your header:

<meta content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no" name="viewport">

Upvotes: 2

Related Questions