From: unarist Date: Thu, 27 Jul 2017 13:49:56 +0000 (+0900) Subject: Fix timeline height on landing page for Safari (#4392) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=73890c3cac19df3fdf7162e84024fedea5ecfe5d;p=mastodon.git Fix timeline height on landing page for Safari (#4392) `height: 100%` in `align-self: stretch` flexboxes doesn't work on Safari < 11. https://bugs.webkit.org/show_bug.cgi?id=137730 This workaround uses flexbox instead of `height: 100%` to stretch height. --- diff --git a/app/javascript/styles/about.scss b/app/javascript/styles/about.scss index 9be95c028..6eddd1322 100644 --- a/app/javascript/styles/about.scss +++ b/app/javascript/styles/about.scss @@ -547,6 +547,7 @@ } #mastodon-timeline { + display: flex; -webkit-overflow-scrolling: touch; -ms-overflow-style: -ms-autohiding-scrollbar; font-family: 'mastodon-font-sans-serif', sans-serif; @@ -565,7 +566,6 @@ padding: 0; border-radius: 4px; overflow: hidden; - height: 100%; } .scrollable {