From ba31121c56b8a9a72c145bc9484597abeab9dd9e Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Tue, 11 Aug 2015 16:20:04 -0400 Subject: [PATCH] fix docsite ad placement on safari --- docsite/_themes/srtd/static/css/theme.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docsite/_themes/srtd/static/css/theme.css b/docsite/_themes/srtd/static/css/theme.css index 26db4ee021d..4f7cbc8caaf 100644 --- a/docsite/_themes/srtd/static/css/theme.css +++ b/docsite/_themes/srtd/static/css/theme.css @@ -4727,18 +4727,28 @@ span[id*='MathJax-Span'] { .DocSiteBanner { width: 100%; display: flex; + display: -webkit-flex; flex-wrap: wrap; + -webkit-flex-wrap: wrap; justify-content: space-between; + -webkit-justify-content: space-between; background-color: #ff5850; margin-bottom: 25px; } +.DocSiteBanner-imgWrapper { + max-width: 100%; +} + @media screen and (max-width: 1403px) { .DocSiteBanner { width: 100%; display: flex; + display: -webkit-flex; flex-wrap: wrap; + -webkit-flex-wrap: wrap; justify-content: center; + -webkit-justify-content: center; background-color: #fff; margin-bottom: 25px; }