]> git.mxchange.org Git - friendica.git/commit
Rework image grid into a horizontal masonry
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 23 Sep 2023 19:56:49 +0000 (15:56 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 24 Sep 2023 02:20:16 +0000 (22:20 -0400)
commit3cc469c0b76114821836474e89ab06e8c1891404
tree0757c639c92bf1ad062b74dcb9d9aca2dee4600a
parentfc5e60e97b506f1f241eea50edc7bbc828c43b83
Rework image grid into a horizontal masonry

- The new server-based horizontal masonry enables tightly packed image grids even with images of varying aspect ratios
- Additionally, the space an image takes is now allocated before it's loaded, reducing content shifting
src/Model/Item.php
view/global.css
view/templates/content/image.tpl
view/templates/content/image_grid.tpl