From 4f0e0b14a78a99137290075f3532d6e4eadf5c06 Mon Sep 17 00:00:00 2001 From: "James R. Wilcox" Date: Thu, 18 Jun 2026 10:23:08 -0700 Subject: [PATCH] Center play triangle in click-to-play button The play icon's SVG path is already balanced, so the margin-left:7% nudge over-corrected and pushed the triangle right of the disc center. Remove it. Co-Authored-By: Claude Opus 4.8 --- click-to-play-component.html | 1 - 1 file changed, 1 deletion(-) diff --git a/click-to-play-component.html b/click-to-play-component.html index cfec8618..775cf82a 100644 --- a/click-to-play-component.html +++ b/click-to-play-component.html @@ -212,7 +212,6 @@

Swap on decode

"box-shadow:0 6px 22px rgba(0,0,0,.34),inset 0 0 0 1.6px rgba(255,255,255,.9);", "opacity:.92;transition:opacity .25s ease,transform .25s ease,background .25s ease}", "click-to-play .ctp-btn svg{grid-area:1/1;width:40%;height:40%;fill:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}", - "click-to-play .ctp-i-play{margin-left:7%}", // optical centering for the triangle "click-to-play .ctp-i-pause{display:none}", // play by default "click-to-play[data-ctp-state='playing'] .ctp-i-play{display:none}", // while playing, swap… "click-to-play[data-ctp-state='playing'] .ctp-i-pause{display:block}", // …the triangle for the pause bars