Fixes a bug with nested media queries

There was a double issue, one with spacing and apparently media queries
can be nested.