These are chat archives for gantry/gantry4

30th
Apr 2016
Piet Nutbey
@pnutster
Apr 30 2016 22:16

An odd Firefox only problem.. using default gantry4 - nothing fancy. It seems as if Firefox does not detect the correct @media query… at 945px window width it is still using the @media only screen and (min-width:960px) and (max-width:1199px) query. And setting the .rt-container to be 960px wide - now…

it turns out, different browser act differently with media queries. Especially Firefox is giving me problems: see alt

Long story short, after countless days of headaches with my co-workers bumping into the same issues regularly, found out it can easily be fixed with a small ~1.1Kb script: https://github.com/stowball/mqGenie

For more on the issue, go here: http://stowball.github.io/mqGenie/