From: Chris Date: Wed, 16 May 2018 20:53:11 +0000 (-0400) Subject: docs: clarify usage of body overflow in XY Grid grid-frame example X-Git-Tag: v6.6.0~3^2~181^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=887b83fbe;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: clarify usage of body overflow in XY Grid grid-frame example See [comment](https://github.com/zurb/foundation-sites/issues/11191#issuecomment-389658664). --- diff --git a/docs/pages/xy-grid.md b/docs/pages/xy-grid.md index c5db80c54..13a2aa165 100644 --- a/docs/pages/xy-grid.md +++ b/docs/pages/xy-grid.md @@ -303,7 +303,7 @@ The XY grid incorporates the grid frame from Foundation for Apps plus many other To start, add `.grid-frame` to the grid. This sets the grid to be 100vh (the full height of the browser window).
- Please note to use `.grid-margin-x` or `.grid-margin-y` with `.grid-frame` you need to hide the overflow on the body like so: `body {overflow: hidden;}`. + Please note that to use `.grid-margin-x` or `.grid-margin-y` with `.grid-frame` you need to hide the overflow on the body like so: `body {overflow: hidden;}`. However, take care not to unintentionally hide overflow body content on small screens when using `.medium-grid-frame`.
Here's an example of what you can do: