From ee5d526c6cb5a4a04e6c3e4e1d07076970dce22e Mon Sep 17 00:00:00 2001 From: phranck Date: Sat, 31 Jan 2026 19:49:54 +0100 Subject: [PATCH] Fix: Restore two-column palette grid, swatches fill card width --- palette-preview.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/palette-preview.html b/palette-preview.html index 9a25b83..4142ff5 100644 --- a/palette-preview.html +++ b/palette-preview.html @@ -40,6 +40,10 @@ .hue-legend { justify-content: center; } } + @media (max-width: 900px) { + .palette-grid { grid-template-columns: 1fr; } + } + @media (max-width: 480px) { body { padding: 16px 12px 40px; } h1 { font-size: 26px; } @@ -74,7 +78,7 @@ .palette-grid { display: grid; - grid-template-columns: 1fr; + grid-template-columns: repeat(2, 1fr); gap: 32px; }