Skip to content

Improve gallery sizing logic

Tae Hoon requested to merge tae/pleroma-fe:improve-gallery-sizing-logic into develop
  • improve gallery height calculation logic without tracking its container width
  • fix a potential bug that doesn't show gallery attachments if the gallery (or timeline) was hidden at the mounting point
  • set ideal flexible length on the gallery attachments based on their original aspect ratio (the original issue - !863 (comment 35649), you will see the ideal firefox version in all major browsers now)
Edited by Tae Hoon

Merge request reports