From 74044f1a6f21cdfd5f52be23b9a5947dddec0832 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Sun, 19 Oct 2025 18:30:16 +1300 Subject: [PATCH] fix(ui): use fixed width classes instead of w-full for diagram sizing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SUMMARY: Fixed diagram sizing issue by replacing w-full with fixed width classes. Diagram was taking up full screen due to w-full overriding max-width constraints. CHANGES: - Removed: w-full max-w-[96px] sm:max-w-[128px] lg:max-w-[160px] - Added: w-24 sm:w-32 lg:w-40 (fixed widths) SIZING: - Mobile: w-24 = 96px (6rem) - Tablet: sm:w-32 = 128px (8rem) - Desktop: lg:w-40 = 160px (10rem) This ensures the diagram is properly constrained to 25% of original size across all viewports without being overridden by w-full. Cache-busting: v=20251019165000 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude --- public/architecture.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/architecture.html b/public/architecture.html index d9dd31df..167c467d 100644 --- a/public/architecture.html +++ b/public/architecture.html @@ -339,10 +339,10 @@ data="/images/architecture-diagram-interactive.svg" type="image/svg+xml" id="interactive-svg-object" - class="w-full max-w-[96px] sm:max-w-[128px] lg:max-w-[160px] h-auto" + class="w-24 sm:w-32 lg:w-40 h-auto" aria-label="Interactive Tractatus Architecture Diagram"> - Tractatus Architecture Diagram + Tractatus Architecture Diagram @@ -521,7 +521,7 @@ - +