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

Included example page shows horizontal scrolling #10459

Closed
gmclelland opened this issue Jul 24, 2017 · 2 comments
Closed

Included example page shows horizontal scrolling #10459

gmclelland opened this issue Jul 24, 2017 · 2 comments

Comments

@gmclelland
Copy link

How to reproduce this bug:

  1. Step one
    Generate a new example site with foundation-cli using foundation new. cd into the new project folder and run foundation watch to build the files.
  2. Step two
    View the generated example page in Google Chrome and resize the browser to a mobile size and notice the horizontal scrollbars.

What should happen:

The page shouldn't show horizontal scrollbars

What happened instead:

The page showed horizontal scrollbars

Browser(s) and Device(s) tested on:

This happens in Google Chrome, Firefox, and Safari

Foundation Version(s) you are using:

6.4.1

The following seems to fix the problem:

.grid-container {
overflow:auto;
}

Hope that helps

@gmclelland
Copy link
Author

Actually to fix it, you have to use:

.grid-container {
  overflow-x:hidden;
}

@brettsmason
Copy link
Contributor

@gmclelland Actually grid container has been reworked for the next release (due out today I believe).
See the PR here: #10371

Going to close this as it will be fixed and better documented with that release 😄

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

No branches or pull requests

2 participants