diff options
author | Mario <mario@mariovavti.com> | 2020-07-14 12:43:34 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-07-14 12:43:34 +0000 |
commit | 634a515ec15baff240a2e41603d576c1c5dc88c7 (patch) | |
tree | 1b41b9bb4c51e66fbc2dcc994111ab71efb2da74 /view | |
parent | 01abb82c37e3fe5b0505154a8bf5f3bc4c712f53 (diff) | |
download | volse-hubzilla-634a515ec15baff240a2e41603d576c1c5dc88c7.tar.gz volse-hubzilla-634a515ec15baff240a2e41603d576c1c5dc88c7.tar.bz2 volse-hubzilla-634a515ec15baff240a2e41603d576c1c5dc88c7.zip |
reduce result sets and work around a regression in justifiedGallery
Diffstat (limited to 'view')
-rw-r--r-- | view/css/default.css | 2 | ||||
-rw-r--r-- | view/js/main.js | 2 | ||||
-rwxr-xr-x | view/tpl/photo_album.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/photos_recent.tpl | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/view/css/default.css b/view/css/default.css index bd0f14ba2..10cd25d25 100644 --- a/view/css/default.css +++ b/view/css/default.css @@ -26,7 +26,7 @@ main { position: relative; flex: 1; order: 2; - padding: 4.5rem 7px 200px 7px; + padding: 4.5rem 7px 500px 7px; min-width: 0; } diff --git a/view/js/main.js b/view/js/main.js index 56ecc4d97..d0eda4e71 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1082,7 +1082,7 @@ function justifyPhotos(id) { justifiedGalleryActive = true; $('#' + id).show(); $('#' + id).justifiedGallery({ - selector: 'a, div:not(#page-end)', + selector: 'a', margins: 3, border: 0 }).on('jg.complete', function(e){ justifiedGalleryActive = false; }); diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index de59809f4..eb16bcc98 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -23,7 +23,7 @@ {{foreach $photos as $photo}} {{include file="photo_top.tpl"}} {{/foreach}} - <div id="page-end"></div> + <span id="page-end"></span> </div> </div> </div> diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index d24b362f8..1e2f22e33 100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -14,7 +14,7 @@ {{foreach $photos as $photo}} {{include file="photo_top.tpl"}} {{/foreach}} - <div id="page-end"></div> + <span id="page-end"></span> </div> </div> </div> |