mlms13 / fixdgs

I hear fixed-width grids are the future
0 stars 0 forks source link

Issues when the page has a horizontal scroll bar #1

Open mlms13 opened 9 years ago

mlms13 commented 9 years ago

The scroll bar takes up space, so in Chrome the viewport might be 1280px, but only 1266px is actually available to the content (but media queries lie and trigger the 1280+ layout...) Margin seems to collapse without triggering a horizontal scrollbar, but padding does not. Maybe we need to rethink fixd-padded-row.

mlms13 commented 9 years ago

Technically this is part of the (optional) helper classes that aren't even part of this library yet. I don't think a margin-based solution will help, but we can easily tweak the media query breakpoints to account for scrollbar width ourselves, using basic math in stylus.