]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
fix: avoid viewport height for fullscreen Reveal as it may be incorrect #10879 11462/head
authorNicolas Coden <nicolas@ncoden.fr>
Sat, 18 Aug 2018 21:45:12 +0000 (23:45 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 18 Aug 2018 21:45:12 +0000 (23:45 +0200)
commitfd0479899e355dbec149a180d908303188dcb3aa
tree3563ac5fd34318eed317a381c3b6b1af8a751f3d
parent02003f9f0cb13855d4ff9d62807636bc2be41138
fix: avoid viewport height for fullscreen Reveal as it may be incorrect #10879

The CSS viewport is the larger possible view height and does not change with the visible area height. This is an intended behavior for optimization reason. See this article:

See: https://nicolas-hoizey.com/2015/02/viewport-height-is-taller-than-the-visible-part-of-the-document-in-some-mobile-browsers.html
See: https://github.com/zurb/foundation-sites/issues/10879#issuecomment-414087274

Closes https://github.com/zurb/foundation-sites/issues/10879
scss/components/_reveal.scss