commit e16d31e6dacab8e866725b8a7a6c98c4ed19201b Author: hiro hiro@torproject.org Date: Mon Apr 1 00:35:34 2019 +0200
Test another svg png fallback --- assets/static/fonts/open-iconic/font/css/open-iconic-bootstrap.css | 2 +- templates/navbar.html | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/assets/static/fonts/open-iconic/font/css/open-iconic-bootstrap.css b/assets/static/fonts/open-iconic/font/css/open-iconic-bootstrap.css index 6f1711f..6fe02eb 100644 --- a/assets/static/fonts/open-iconic/font/css/open-iconic-bootstrap.css +++ b/assets/static/fonts/open-iconic/font/css/open-iconic-bootstrap.css @@ -8,7 +8,7 @@ font-style: normal; }
-span.oi picture { +span.oi object { color: white; }
diff --git a/templates/navbar.html b/templates/navbar.html index ec34ec9..c1ba4ef 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -56,10 +56,9 @@ <div class="pull-right"> <a class="btn btn-outline-light pull-right" href="{{ this.url_to(download)|url(alt=this.alt) }}"> {{ _("Download Tor Browser") }}<span class="oi ml-2 p-1"> - <picture> - <source srcset="{{ '/static/fonts/open-iconic/svg/arrow-bottom.svg'|asseturl }}" type="image/svg+xml"> + <object data="{{ '/static/fonts/open-iconic/svg/arrow-bottom.svg'|asseturl }}" type="image/svg+xml"> <img src="{{ '/static/fonts/open-iconic/png/arrow-bottom-2x.png'|asseturl }}" /> - </picture> + </object> </span> </a> </div>
tor-commits@lists.torproject.org