feat: update thumbs modal styling

isekai-main
Barış Soner Uşaklı 2 years ago
parent 4fb021a72b
commit c0b62346f0

@ -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 }}}

Loading…
Cancel
Save