mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
fix snapshot favicon loading spinner height
This commit is contained in:
parent
3227f54b52
commit
f6c3683ab8
2 changed files with 3 additions and 3 deletions
|
@ -161,4 +161,4 @@ def snapshot_icons(snapshot) -> str:
|
||||||
output += '<a href="{}" class="exists-{}" title="{}">{}</a> '.format(canon["archive_org_path"], str(exists),
|
output += '<a href="{}" class="exists-{}" title="{}">{}</a> '.format(canon["archive_org_path"], str(exists),
|
||||||
"archive_org", icons.get("archive_org", "?"))
|
"archive_org", icons.get("archive_org", "?"))
|
||||||
|
|
||||||
return format_html('<span class="files-icons" style="font-size: 1.1em; opacity: 0.8">{}<span>', mark_safe(output))
|
return format_html('<span class="files-icons" style="font-size: 1.1em; opacity: 0.8; min-width: 240px; display: inline-block">{}<span>', mark_safe(output))
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{% if link.is_archived %}
|
{% if link.is_archived %}
|
||||||
<a href="archive/{{link.timestamp}}/index.html"><img src="archive/{{link.timestamp}}/favicon.ico" class="link-favicon" decoding="async"></a>
|
<a href="archive/{{link.timestamp}}/index.html"><img src="archive/{{link.timestamp}}/favicon.ico" class="link-favicon" decoding="async"></a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="archive/{{link.timestamp}}/index.html"><img src="{% static 'spinner.gif' %}" class="link-favicon" decoding="async"></a>
|
<a href="archive/{{link.timestamp}}/index.html"><img src="{% static 'spinner.gif' %}" class="link-favicon" decoding="async" style="height: 15px"></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<a href="archive/{{link.timestamp}}/index.html" title="{{link.title}}">
|
<a href="archive/{{link.timestamp}}/index.html" title="{{link.title}}">
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
{{link.icons}} <small style="float:right; opacity: 0.5">{{link.num_outputs}}</small>
|
{{link.icons}} <small style="float:right; opacity: 0.5">{{link.num_outputs}}</small>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="archive/{{link.timestamp}}/index.html">📄
|
<a href="archive/{{link.timestamp}}/index.html">📄
|
||||||
{{link.num_outputs}} <img src="{% static 'spinner.gif' %}" class="files-spinner" decoding="async"/>
|
{{link.num_outputs}} <img src="{% static 'spinner.gif' %}" class="files-spinner" decoding="async" style="height: 15px"/>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue