Cap toggle container width for 2x retina snapshots
Screenshots are captured at 2x, so display at half pixel width
(640px cap) to match the gallery. The mobile viewport override
(375px) still takes precedence.

https://claude.ai/code/session_011VTWgTx1yUqypB3xAuYgn7
change
commit 3223dbdd49c4ddf435209b3492bbfcae8e11e270
author Claude <noreply@anthropic.com>
date
parent df5a8304
diff --git a/templates/snapshots.css b/templates/snapshots.css
index d6e9cef..7537d7c 100644
--- a/templates/snapshots.css
+++ b/templates/snapshots.css
@@ -344,6 +344,8 @@ body:has(.sidebar) {
 .toggle-container {
   display: grid;
   position: relative;
+  max-width: 640px;
+  margin-inline: auto;
   border-radius: 4px;
   border: 1px solid #333;
   overflow: hidden;