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

Unnecessary scrollbar #5505

Closed
mdamaceno opened this issue Jul 27, 2014 · 2 comments
Closed

Unnecessary scrollbar #5505

mdamaceno opened this issue Jul 27, 2014 · 2 comments

Comments

@mdamaceno
Copy link

I have asked a question on Stackoverflow about this, but after a few day I have found part of solution. Even the elements not trespassing the limit of the visible area, Foundation generates a scrollbar. For me, it's unnecessary.

/* line 365, /usr/local/lib/ruby/gems/2.0.0/gems/foundation-rails-5.3.0.1/vendor/assets/stylesheets/foundation/components/_global.scss */
html, body {
  height: 100%;
}

Changing this to

html, body {
  height: auto;
}

the scrollbar desappears.

@mdamaceno mdamaceno changed the title Desnecessary scrollbar Unnecessary scrollbar Jul 27, 2014
@vinayraghu
Copy link
Contributor

I think the height:100% is there for the off-canvas menu to work properly. Your change might mess up the off canvas menu, do check

@rafibomb
Copy link
Member

rafibomb commented Aug 5, 2014

The http://foundation.zurb.com/forum Foundation forum would be a great place to seek some help with troubleshooting what might be going on here. If it turns out to be a defect, you'll have some more info to provide here which will help prioritize and get it fixed.

We're trying to keep the issue list focused on confirmed defects in Foundation, so any help everyone can provide to differentiate between usage / troubleshooting and actual defects is appreciated!

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

3 participants