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> <div class="alert alert-info">[[modules:thumbs.modal.no-thumbs]]</div>
{{{ end }}} {{{ end }}}
{{{ each thumbs }}} {{{ each thumbs }}}
<div class="media" data-id="{./id}" data-path="{./path}"> <div class="d-flex align-items-center mb-3" data-id="{./id}" data-path="{./path}">
<div class="media-left"> <div class="flex-shrink-0 py-2">
<img class="media-object" src="{./url}" alt="" /> <img class="rounded" width="128px" style="height: auto;" src="{./url}" alt="" />
</div> </div>
<div class="media-body"> <div class="flex-grow-1 ms-3">
<p> <p>
<code>{./name}</code> <code>{./name}</code>
</p> </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>
</div> </div>
{{{ end }}} {{{ end }}}

Loading…
Cancel
Save