L0kayata
1f0a84a24b
fix: Lock carousel caption area to measured max height
...
Measure caption heights across slides at runtime and apply a shared min-height so switching between slides with and without caption text does not cause layout jump.
Keep this behavior scoped to carousels with captions and recalculate on load and resize for responsive stability.
2026-03-27 12:27:59 +01:00
L0kayata
877a2609e9
fix: Fix carousel caption flow and scope controls to image bounds
...
Move carousel captions out of absolute positioning so they participate in normal height calculation and no longer overlap content below the carousel.
Constrain indicators and navigation buttons to the image region using container-based sizing, so controls do not extend into the caption area.
2026-03-27 12:27:21 +01:00
Alex Haslam
712cb48fb2
Allow markdown captions
2026-02-08 15:43:16 +00:00
Alex Haslam
73580313b4
Make caption visible again
2026-02-08 14:55:48 +00:00
Alex Haslam
b509f51f9b
Fix horizontal scrolling issue
2026-02-08 14:02:07 +00:00
Alex Haslam
76a23c05af
Reduce the diff
2026-02-06 13:09:58 +00:00
Alex Haslam
3dd3d0fae8
Make captions move
2026-02-06 13:06:58 +00:00
Alex Haslam
166a326dc7
Add captions argument to carousel
2026-02-06 12:56:14 +00:00
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
Ted
45c084afa0
Update carousel.html to support arbitrary aspect ratios
2025-09-28 09:29:30 -05:00
ZhenShuo Leo
e1f59b6108
fix(carousel): prevent generating duplicate CSS files
...
use inline CSS to avoid extra workarounds
2025-09-20 01:09:15 +08:00
ZhenShuo Leo
4bb67ca1ca
chore: remove text-white
2025-08-22 04:03:22 +08:00
ZhenShuo Leo
b3c70cedf7
chore(carosel): prevent style tag in HTML
...
this approach does not need to change the assets or the vendor file
and the live reload is also supported
2025-07-27 01:23:24 +08:00
ZhenShuo Leo
aec737ff16
fix(carousel): make interval affect slide transition on click
2025-07-27 00:37:40 +08:00
ZhenShuo Leo
ccf5e24f55
fix(carousel): interval not working
2025-07-27 00:35:31 +08:00
Served Smart
17faf8b738
♻️ Refactor: Autogen classes and use consistent naming
...
- This should greatly improve consistency
- This mainly targets one of my PRs https://github.com/nunocoracao/blowfish/pull/2211
2025-07-09 18:59:32 +02:00
Nuno Coração
f2e224a042
pretty run
2025-06-17 23:17:26 +01:00
Nuno Coração
7c0eacf44f
fixes and polish on shortcodes
2024-03-06 22:12:58 +00:00
Nuno Coração
214d65f076
Carousel doesn't work for local images
2024-02-15 17:51:06 +00:00
Nuno Coração
02bcbb7a12
carousel support for URLs
2024-02-10 18:44:07 +00:00
MaikelChan
9cfc07565c
New way to generate UIDs.
2024-01-13 01:24:45 +01:00
Nuno Coração
b2f8082120
fixed carousel shortcode
2023-11-02 23:11:58 +00:00
Nuno Coração
96fdb6db8b
updated logic for unique ids in shortcodes
2023-08-17 22:01:42 +01:00
Sinan
dca41fbd23
add alt tag to carousel
2023-03-20 11:01:37 +01:00
Nuno Coração
15836936d2
updated carousel shorcode to support latest version of tw-elements
2023-03-10 13:07:31 +00:00
Nuno Coração
9a1a1b70da
temp fix for carousel
2023-03-09 22:56:12 +00:00
Mircea-Pavel ANTON
405e35d5f4
Rename duration to interval
2023-02-02 19:31:27 +00:00
Mircea-Pavel ANTON
73ccf044e8
Rename param
2023-02-02 11:45:24 +00:00
Mircea-Pavel ANTON
201df82bca
Update shortcode
2023-02-02 11:43:04 +00:00
Mircea-Pavel ANTON
508ef7ad99
Randomize duration of autoscroll
2023-01-31 18:10:24 +00:00
Mircea-Pavel ANTON
3904461926
Provide images as regex filter
2023-01-18 09:35:19 +00:00
Mircea-Pavel ANTON
61f1e46f28
Add ability to customize the aspect ratio
2023-01-18 09:18:17 +00:00
Mircea-Pavel ANTON
ffa0ece618
Add dynamically generated ID
2023-01-18 09:08:49 +00:00
Nuno Coração
f4222b83a2
rewrote carousel
2023-01-17 22:36:56 +00:00