From f42295484d10b9a833f8f9a7e5e775307de9bdb5 Mon Sep 17 00:00:00 2001 From: Godwin Date: Thu, 13 Apr 2017 19:58:00 -0700 Subject: [PATCH] Fixed flexbox issues with PhantomJS --- app/assets/stylesheets/_application.scss | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/_application.scss b/app/assets/stylesheets/_application.scss index d4121c4..a982aac 100644 --- a/app/assets/stylesheets/_application.scss +++ b/app/assets/stylesheets/_application.scss @@ -4859,8 +4859,10 @@ html[data-ontop] { } .github { - @include _(flex, none); - @include _(flex-basis, auto); + @if capable_of(flexbox, true) { + @include _(flex, none); + @include _(flex-basis, auto); + } margin: 0 1em; } .facebook, .external { @@ -4883,6 +4885,19 @@ html[data-ontop] { margin: 0 0 0 2em; text-align: left; } + + @if not capable_of(flexbox, true) { + margin-top: 5em; + + .external { + float: left; + } + + .site-info { + float: right; + margin-top: -3.5em; + } + } } .check-box-field,