aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_album.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-25 12:55:19 +0000
committerMario <mario@mariovavti.com>2021-02-25 12:55:19 +0000
commitb29e121113a588d88b3d8f4265bece2c5e997cef (patch)
treec48d9caf50633015374ac07cda5c2b91aba150f7 /view/tpl/photo_album.tpl
parenta033c439f3486c6ce31fb5d680c363ce0582d451 (diff)
downloadvolse-hubzilla-b29e121113a588d88b3d8f4265bece2c5e997cef.tar.gz
volse-hubzilla-b29e121113a588d88b3d8f4265bece2c5e997cef.tar.bz2
volse-hubzilla-b29e121113a588d88b3d8f4265bece2c5e997cef.zip
replace sticky_kit with a simpler homwgrown solution (still a bit raw) and slightly change the way we load new content so that people with a long aside column do not have to scroll all the way to the bottom for loading the next page
Diffstat (limited to 'view/tpl/photo_album.tpl')
-rw-r--r--view/tpl/photo_album.tpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl
index eb16bcc98..ad4e2a38c 100644
--- a/view/tpl/photo_album.tpl
+++ b/view/tpl/photo_album.tpl
@@ -18,12 +18,13 @@
</div>
{{$upload_form}}
{{$album_edit.1}}
- <div class="section-content-wrapper-np">
+ <div class="section-content-wrapper-np clearfix">
<div id="photo-album-contents-{{$album_id}}" style="display: none">
{{foreach $photos as $photo}}
{{include file="photo_top.tpl"}}
{{/foreach}}
- <span id="page-end"></span>
+ {{** make sure this element is at the bottom - we rely on that for endless scroll **}}
+ <span id="page-end" class="d-block float-left w-100" style="position: absolute; bottom: 0px"></span>
</div>
</div>
</div>