mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: update thumbs modal styling
This commit is contained in:
@@ -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 }}}
|
||||
|
||||
Reference in New Issue
Block a user