From 650c061137e7ee5d077d6d10a007964b983f7754 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 3 Feb 2026 08:14:47 +0100 Subject: [PATCH] rosary: add SVG hitboxes for easier bead tapping on mobile --- .../[rosary=rosaryLang]/+page.svelte | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/routes/[faithLang=faithLang]/[rosary=rosaryLang]/+page.svelte b/src/routes/[faithLang=faithLang]/[rosary=rosaryLang]/+page.svelte index 0c9be45..7ec9606 100644 --- a/src/routes/[faithLang=faithLang]/[rosary=rosaryLang]/+page.svelte +++ b/src/routes/[faithLang=faithLang]/[rosary=rosaryLang]/+page.svelte @@ -829,6 +829,7 @@ onMount(() => { width: 100%; height: auto; display: block; + -webkit-tap-highlight-color: transparent; } /* Main content area with prayers */ @@ -962,6 +963,10 @@ onMount(() => { font-family: crosses; } +.rosary-visualization :global(.hitboxes) { + fill: transparent; +} + /* Active states */ .rosary-visualization :global(.active-bead) { fill: var(--nord11) !important; @@ -1413,6 +1418,33 @@ l536 389l-209 -629zM1671 934l-370 267l150 436l-378 -271l-371 271q8 -34 15 -68q10 {/each} + + + + + + + + + + + + + + + + + + + + + + + + + + +