From 3db7b12d72d9a5951f78f5f585c130bef148ba20 Mon Sep 17 00:00:00 2001 From: lucaslyl Date: Thu, 12 Dec 2024 13:33:24 +0800 Subject: [PATCH] reassign the correct width to crm grid-view --- packages/experiments-realm/crm-app.gts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/experiments-realm/crm-app.gts b/packages/experiments-realm/crm-app.gts index eedd586cf5..37e34e1f2d 100644 --- a/packages/experiments-realm/crm-app.gts +++ b/packages/experiments-realm/crm-app.gts @@ -440,6 +440,13 @@ class CrmAppTemplate extends Component { .view-menu { margin-left: auto; } + /* Cards grid crm */ + .crm-app :where(.card-view-container) { + grid-template-columns: 1fr; + } + .crm-app :where(.grid-view) { + --grid-card-min-width: 300px; + } }