w3c.github.io icon indicating copy to clipboard operation
w3c.github.io copied to clipboard

Fix quirk with horizontal margins when resizing

Open tripu opened this issue 8 years ago • 3 comments

Left- and right- margins are fixed at 20px when width ≤ 840px. If the window becomes slightly wider (and especially if vertical scroll bars are visible), margins actually shrink and snap down to ≃ 13px (depends on the UA). That is not the intended behaviour.

cf https://github.com/w3c/w3c.github.io/pull/17#issuecomment-225139899

tripu avatar Jun 13 '16 14:06 tripu