Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix quirk with horizontal margins when resizing #19

Open
tripu opened this issue Jun 13, 2016 · 3 comments
Open

Fix quirk with horizontal margins when resizing #19

tripu opened this issue Jun 13, 2016 · 3 comments

Comments

@tripu
Copy link
Member

tripu commented Jun 13, 2016

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 #17 (comment)

@tripu
Copy link
Member Author

tripu commented Jul 27, 2016

Note to self: “Detect scrollbar width with JavaScript”.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@tripu and others