update scroll ui for pinned items and preview

This commit is contained in:
Mike Macgirvin 2023-10-10 20:59:26 +11:00
parent d6ea538425
commit 11a33362fe
3 changed files with 9 additions and 5 deletions

View file

@ -85,8 +85,9 @@
{{* $item.comment_order *}}
</div>
</div>
<div style="text-align: center"><span class="fakelink" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight({{$item.id}});"><i class="fa fa-chevron-down">&nbsp;</i></span>
</div>
<div style="text-align: center">
<span class="fakelink" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight({{$item.id}});"><i class="fa fa-chevron-down">&nbsp;</i></span>
</div>
{{/if}}
{{if $item.has_tags}}
<div class="p-2 wall-item-tools clearfix">

View file

@ -31,7 +31,6 @@
{{/if}}
<div class="p-2 clearfix wall-item-head{{if !$title && !$event && !$photo}} rounded-top{{/if}}{{if $is_new && !$event}} wall-item-head-new{{/if}}">
<span class="float-end wall-item-pinned" title="{{$pinned}}"><i class="fa fa-thumb-tack">&nbsp;</i></span>
<span class="float-end" id="wall-item-scroll-{{$item.id}}"><i class="fa fa-chevron-down">&nbsp;</i></span>
<div class="wall-item-info" id="pinned-item-info-{{$id}}" >
<div class="wall-item-photo-wrapper{{if $owner_url}} wwfrom{{/if}} h-card p-author" id="pinned-item-photo-wrapper-{{$id}}">
<img src="{{$thumb}}" class="fakelink wall-item-photo u-photo p-name" id="pinned-item-photo-{{$id}}" alt="{{$name}}" data-bs-toggle="dropdown" />
@ -65,6 +64,9 @@
{{$body}}
</div>
</div>
<div style="text-align: center">
<span class="fakelink" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight('{{$item.id}}');"><i class="fa fa-chevron-down">&nbsp;</i></span>
</div>
{{/if}}
{{if $has_tags}}
<div class="p-2 wall-item-tools clearfix">

View file

@ -24,8 +24,6 @@
{{if $item.pinned}}
<span class="float-end wall-item-pinned" title="{{$item.pinned}}" id="wall-item-pinned-{{$item.id}}"><i class="fa fa-thumb-tack">&nbsp;</i></span>
{{/if}}
<span class="float-end" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight({{$item.id}});"><i class="fa fa-chevron-down">&nbsp;</i></span>
<div class="wall-item-info" id="wall-item-info-{{$item.id}}" >
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}">
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-bs-toggle="dropdown" />
@ -68,6 +66,9 @@
{{$item.body}}
</div>
</div>
<div style="text-align: center">
<span class="fakelink" id="wall-item-scroll-{{$item.id}}" onclick="extendHeight('{{$item.id}}');"><i class="fa fa-chevron-down">&nbsp;</i></span>
</div>
{{/if}}
{{if $item.has_tags}}
<div class="p-2 wall-item-tools clearfix">