]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: clarify usage of body overflow in XY Grid grid-frame example 11280/head
authorChris <chrisdavidramos@gmail.com>
Wed, 16 May 2018 20:53:11 +0000 (16:53 -0400)
committerNicolas Coden <nicolas@ncoden.fr>
Fri, 18 May 2018 21:01:40 +0000 (23:01 +0200)
See [comment](https://github.com/zurb/foundation-sites/issues/11191#issuecomment-389658664).

docs/pages/xy-grid.md

index c5db80c5466e92b97455f8dba447256310daed9d..13a2aa165b3bae071e283205277ecc55efaaa32c 100644 (file)
@@ -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).
 
 <div class="callout warning">
-  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`.
 </div>
 
 Here's an example of what you can do: