Wrap caption in a w3-container #111

This commit is contained in:
KnugiHK
2024-09-16 21:37:18 +08:00
parent fed14ceb29
commit d72b41da11

View File

@@ -140,7 +140,7 @@
</div>
{% if msg.caption is not none %}
<div class="w3-container">
{{ msg.caption | urlize(none, true, '_blank') }}
{{ msg.caption | urlize(none, true, '_blank') }}
</div>
{% endif %}
{% else %}
@@ -167,11 +167,12 @@
{% filter escape %}{{ msg.data }}{% endfilter %}
{% endif %}
{% if msg.caption is not none %}
<br>
{{ msg.caption | urlize(none, true, '_blank') }}
<div class="w3-container">
{{ msg.caption | urlize(none, true, '_blank') }}
</div>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
</div>
</div>
{% if not no_avatar and my_avatar is not none %}
@@ -256,8 +257,9 @@
{% filter escape %}{{ msg.data }}{% endfilter %}
{% endif %}
{% if msg.caption is not none %}
<br>
{{ msg.caption | urlize(none, true, '_blank') }}
<div class="w3-container">
{{ msg.caption | urlize(none, true, '_blank') }}
</div>
{% endif %}
{% endif %}
{% endif %}