Improve gallery sizing logic
1 unresolved thread
1 unresolved thread
- 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
Activity
- Resolved by Tae Hoon
The attachment component is messy and I can't find a proper selector for it. I set all of them as inline style since it is thought of as having the highest specificity.
Edited by Tae Hoon
added 27 commits
-
0c917b65...cd956185 - 23 commits from branch
pleroma:develop
- 6c4d2371 - populate gallery row height without getting width
- 0396c6f2 - keep image natural ratio in gallery row
- ad045222 - update flex-grow calculation logic
- b9c281c5 - set flex amount correctly
Toggle commit list-
0c917b65...cd956185 - 23 commits from branch
- Resolved by Tae Hoon
mentioned in commit f5c37231
Please register or sign in to reply