[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb] 01/07: Fix <picture> not rendering on prod
This is an automated email from the git hooks/post-receive script.
meskio pushed a commit to branch main
in repository bridgedb.
commit 7aa9f62b9ba4ddaa0a939f8f7dbb41bca7b193a2
Author: kez <kez@xxxxxxxxxxxxxx>
AuthorDate: Wed Aug 24 14:29:52 2022 -0700
Fix <picture> not rendering on prod
Closes #40055
---
frontend/templates/home.html | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/frontend/templates/home.html b/frontend/templates/home.html
index 52578a2..27f9c7f 100644
--- a/frontend/templates/home.html
+++ b/frontend/templates/home.html
@@ -4,12 +4,7 @@
<div class="card-body">
<h2 class="card-title ">{{ _('Step ' + number|string) }}</h2>
<p class="card-text">{{ _(text) }}</p>
- <div class="">
- <picture>
- <source type="image/svg+xml" srcset="{{ '/static/images/{}.svg'.format(image_name) | asseturl }}">
- <img src="{{ '/static/images/{}.png'.format(image_name) | asseturl }}">
- </picture>
- </div>
+ <img src="{{ '/static/images/{}.svg'.format(image_name) | asseturl }}">
</div>
<a href="{{ link }}" class="btn btn-primary">{{ _(text) }}</a>
</div>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits