Skip to content

Node.js based forum software built for the modern web

fix: closes #12957, don't overflow thumbs modal if filename is too long

Barış Soner Uşaklıc8a38667bb03
diff --git a/src/views/modals/topic-thumbs.tpl b/src/views/modals/topic-thumbs.tpl
index ec2366080d..ead862457c 100644
--- a/src/views/modals/topic-thumbs.tpl
+++ b/src/views/modals/topic-thumbs.tpl
@@ -9,7 +9,7 @@
</div>
<div class="flex-grow-1 ms-3">
<p>
- <code>{./name}</code>
+ <code style="word-break: break-all;">{./name}</code>
</p>
<button class="btn btn-danger btn-sm text-nowrap" data-action="remove"><i class="fa fa-times"></i> [[modules:thumbs.modal.remove]]</button>
</div>