From 7af69574f4284eb207ede8d9a3967e9ce38bfdc9 Mon Sep 17 00:00:00 2001 From: heaven Date: Wed, 6 May 2026 16:19:41 +0300 Subject: [PATCH] feat(bots): render bot-shell command cards as a fixed 2-column grid with equal-height rows --- apps/widget-discord/src/styles.css | 3 ++- apps/widget-telegram/src/styles.css | 3 ++- apps/widget-whatsapp/src/styles.css | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/widget-discord/src/styles.css b/apps/widget-discord/src/styles.css index 5aec8e3c..4423ff50 100644 --- a/apps/widget-discord/src/styles.css +++ b/apps/widget-discord/src/styles.css @@ -436,7 +436,8 @@ body { .command-grid { display: grid; - grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); + grid-template-columns: repeat(2, minmax(0, 1fr)); + grid-auto-rows: 1fr; gap: 10px; } diff --git a/apps/widget-telegram/src/styles.css b/apps/widget-telegram/src/styles.css index ca46dbaa..22541293 100644 --- a/apps/widget-telegram/src/styles.css +++ b/apps/widget-telegram/src/styles.css @@ -500,7 +500,8 @@ body { .command-grid { display: grid; - grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); + grid-template-columns: repeat(2, minmax(0, 1fr)); + grid-auto-rows: 1fr; gap: 10px; } diff --git a/apps/widget-whatsapp/src/styles.css b/apps/widget-whatsapp/src/styles.css index 591ce0fb..d7f1685f 100644 --- a/apps/widget-whatsapp/src/styles.css +++ b/apps/widget-whatsapp/src/styles.css @@ -519,7 +519,8 @@ body { .command-grid { display: grid; - grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); + grid-template-columns: repeat(2, minmax(0, 1fr)); + grid-auto-rows: 1fr; gap: 10px; }