From 9f94164c61440569483be9b1f03b9ce936c72168 Mon Sep 17 00:00:00 2001 From: Mischa Date: Sun, 21 Jun 2026 21:13:43 +0200 Subject: [PATCH] fix(arrows): insert strip-controls after wrap, not inside it Dots moved inside journal-photo-wrap (overflow:hidden) earlier, so controls were being clipped. Now inserts after the wrap element. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr --- themes/intotheeast/templates/partials/base.html.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/intotheeast/templates/partials/base.html.twig b/themes/intotheeast/templates/partials/base.html.twig index 3ced31e..588baeb 100644 --- a/themes/intotheeast/templates/partials/base.html.twig +++ b/themes/intotheeast/templates/partials/base.html.twig @@ -66,7 +66,8 @@ controls.className = 'strip-controls'; controls.appendChild(prev); controls.appendChild(next); - dots.insertAdjacentElement('afterend', controls); + var wrap = strip.closest('.journal-photo-wrap'); + (wrap || dots).insertAdjacentElement('afterend', controls); }); })();