15 Commits

Author SHA1 Message Date
ZhenShuo Leo
7a1cfbb75d fix: overflow when the gallery is inside other containers [skip ci]
Fix the fix in #2653

This is a simple fix, hopefully it will be fully resolved in the future.
2025-12-23 02:23:21 +08:00
ZhenShuo Leo
4422c4b517 fix: gallery and carousel wouldn't show without other statically sized elements 2025-12-15 20:26:04 +08:00
ZhenShuo Leo
43857a5aa9 refactor(gallery): improve readibility
- remove unnecessary intermediate variable
- move the go process out of the div since they are not related
- use expressive variable names
- reorder declarations
2025-06-24 03:44:13 +08:00
Nuno Coração
f2e224a042 pretty run 2025-06-17 23:17:26 +01:00
ZhenShuo Leo
6486908601 Feat: gallery shortcode supports all kinds of input
Also trim white spaces
2025-05-04 00:27:31 +08:00
ZhenShuo Leo
6f33b9d5cf 🐛 fix: incorrect path for gallery
Fix this issue with resource.RelPermalink
2025-05-02 17:43:56 +08:00
MaikelChan
9cfc07565c New way to generate UIDs. 2024-01-13 01:24:45 +01:00
v20100v
c790396863 🐛 : Shortcodes gallery (non-unique id, multiple loading <script> tag) 2023-12-18 14:37:47 +01:00
Nuno Coração
96fdb6db8b updated logic for unique ids in shortcodes 2023-08-17 22:01:42 +01:00
MaikelChan
83eae55276 Gallery fixes.
- Fixed having multiple galleries in the same page with the same ID, which would cause the galleries after the first one not behaving correctly.
- Make sure that all images have finished loading before calling Packery, fixing some image overlapping problems.
2023-05-23 20:20:07 +02:00
MaikelChan
23ef06829a Fixed having multiple galleries in the same page, only works the first one. 2023-05-21 23:14:11 +02:00
Nuno Coração
482204a0ba 🐛 fixed gallery loading packery problem 2023-03-10 14:40:12 +00:00
Nuno Coração
2be43ce875 temp fix for gallery 2023-03-09 23:00:46 +00:00
Nuno Coração
05f76ed459 fixed dependencies and css, update gallery code 2023-01-17 00:31:25 +00:00
Mircea-Pavel ANTON
f919b29fc5 Add shortcode 2023-01-16 08:21:46 +00:00