Skip to content

Node.js based forum software built for the modern web

feat: update thumbs modal styling

Barış Soner Uşaklıc0b62346f018
diff --git a/src/views/modals/topic-thumbs.tpl b/src/views/modals/topic-thumbs.tpl
index 91a49bd9d0..ec2366080d 100644
--- a/src/views/modals/topic-thumbs.tpl
+++ b/src/views/modals/topic-thumbs.tpl
@@ -3,15 +3,15 @@
<div class="alert alert-info">[[modules:thumbs.modal.no-thumbs]]</div>
{{{ end }}}
{{{ each thumbs }}}
- <div class="media" data-id="{./id}" data-path="{./path}">
- <div class="media-left">
- <img class="media-object" src="{./url}" alt="" />
+ <div class="d-flex align-items-center mb-3" data-id="{./id}" data-path="{./path}">
+ <div class="flex-shrink-0 py-2">
+ <img class="rounded" width="128px" style="height: auto;" src="{./url}" alt="" />
</div>
- <div class="media-body">
+ <div class="flex-grow-1 ms-3">
<p>
<code>{./name}</code>
</p>
- <button class="btn btn-danger" data-action="remove"><i class="fa fa-times"></i> [[modules:thumbs.modal.remove]]</button>
+ <button class="btn btn-danger btn-sm text-nowrap" data-action="remove"><i class="fa fa-times"></i> [[modules:thumbs.modal.remove]]</button>
</div>
</div>
{{{ end }}}