← banjotuna

Fix 5th string box positioning - increase left margin

2fac79e6d9e0c79abc912d5bb3c1da02d4c04ee2 · Claude · Feb 1, 2026 19:37

Increased marginLeft from 25 to 35 so the 5th string box
fits within the SVG boundaries instead of being cut off.

https://claude.ai/code/session_017ri8N4m6j39ajt5xUaz65n

+1 −1 · 1 file changed

  • index.html +1 −1
diff --git a/index.html b/index.html
index 9adb45c..70c7a5f 100644
--- a/index.html
+++ b/index.html
@@ -1567,7 +1567,7 @@
         function generateChordDiagramSVG(voicing, chordName, tuningName, fingerNotation = 'numbers') {
             const width = 140;
             const height = 200;
-            const marginLeft = 25;
+            const marginLeft = 35;
             const marginTop = 35;
             const marginRight = 15;
             const marginBottom = 25;