Divs are not allowed inside anchors. Use instead a span with a block type display.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
{% load documents_tags %}
|
||||
|
||||
<div class="instance-image-widget {{ container_class }}">
|
||||
<div class="spinner-container text-primary"
|
||||
style="height: {% if display_full_height %}100%{% else %}{{ display_height|default:150 }}px{% endif %};"
|
||||
<span class="instance-image-widget {{ container_class }}">
|
||||
<span class="spinner-container text-primary"
|
||||
style="height: {% if display_full_height %}100%{% else %}{{ display_height|default:150 }}px{% endif %}; display: block;"
|
||||
>
|
||||
<i class="far fa-clock fa-2x"></i>
|
||||
</div>
|
||||
</span>
|
||||
<img
|
||||
class="thin_border {{ image_classes }}"
|
||||
data-url="{% get_api_image_url instance width=image_width height=image_height zoom=image_zoom rotation=image_rotation %}"
|
||||
src="#"
|
||||
style="{% if image_max_height %}max-height: {{ image_max_height }}; {% endif %}"
|
||||
/>
|
||||
</div>
|
||||
</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user