force the figcaption to break long words (even without spaces)

This commit is contained in:
2021-06-22 21:06:24 +10:00
parent f4e8d5f9da
commit 6c3cdf79eb
2 changed files with 11 additions and 1 deletions

View File

@@ -212,7 +212,7 @@
{% if dirname| TopLevelFolderOf(cwd) %}
<figure class="px-1 dir" dir="{{dirname}}">
<i style="font-size:{{size|int-22}};" class="fas fa-folder"></i>
<figcaption style="display: table-caption;" class="figure-caption text-center">{{obj.name}}</figcaption>
<figcaption class="figure-caption text-center text-wrap text-break">{{obj.name}}</figcaption>
</figure class="figure">
{% endif %}
{% endif %}