feat: move topic thumb to template
use a single modal to show all thumbs and allow switchingisekai-main
parent
04219c4ccb
commit
84a78c2d5f
@ -0,0 +1,13 @@
|
||||
<div class="d-flex flex-column gap-4 topic-thumbs-view-modal">
|
||||
<div class="d-flex justify-content-center align-items-center mb-5" style="height: 33vh; max-height: 33vh;">
|
||||
<img component="topic/thumb/current" src="{src}" style="max-height: 33vh;" />
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="d-flex justify-content-center mb-3 gap-3">
|
||||
{{{ each thumbs }}}
|
||||
<div>
|
||||
<img component="topic/thumb/select" class="pointer rounded border border-3 {{{ if ./selected }}}border-primary{{{ end }}}" height="64px" style="width: auto;" src="{./url}"/>
|
||||
</div>
|
||||
{{{ end }}}
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue