From 9285e504126152449715e3bfa5ef3675e4d75209 Mon Sep 17 00:00:00 2001 From: Moepchi Date: Fri, 18 Sep 2026 10:25:41 +0000 Subject: [PATCH] Design store: revert icon row to 4-across, they already spanned full width The 2x2 layout looked worse. flex:1 on a 4-in-a-row already makes the four buttons together fill the card's full width - that was right the first time, just needed the mismatched-glyph fix, not a layout change. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU --- web/src/App.css | 12 ++++++------ web/src/App.tsx | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/web/src/App.css b/web/src/App.css index a5587ae..f70ffea 100644 --- a/web/src/App.css +++ b/web/src/App.css @@ -3414,8 +3414,7 @@ } .ts-design-theme-card-actions { - display: grid; - grid-template-columns: repeat(2, 1fr); + display: flex; gap: 0.4rem; margin-top: 0.5rem; } @@ -3447,14 +3446,15 @@ cursor: default; } -/* Icon row (edit/duplicate/export/delete) - laid out 2x2 instead of 4 across - so each button gets the full card-half width instead of a cramped quarter. */ +/* Icon row (edit/duplicate/export/delete) - side by side, flex:1 so the four + of them together always fill the card's full width. */ .ts-design-theme-card-actions button { + flex: 1; display: flex; align-items: center; justify-content: center; - min-height: 2.8rem; - padding: 0.6rem 0; + min-height: 2.6rem; + padding: 0.5rem 0; } .ts-design-store-card-actions { diff --git a/web/src/App.tsx b/web/src/App.tsx index 1efb785..4b4910c 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -5222,8 +5222,8 @@ function ActionIcon({ children }: { children: ReactNode }) { return (