From 2171c1b4335af35ff55b81cf59569b80536df4a0 Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Sat, 6 Dec 2025 05:58:41 -0800 Subject: [PATCH] [Fix] grid view of domain cards when more than 5 (#1369) * Fix grid view of domain cards when more than 5 * Also fit 5 when there is a scrollbar --- styles/less/global/inventory-fieldset-items.less | 3 ++- styles/less/global/inventory-item.less | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/styles/less/global/inventory-fieldset-items.less b/styles/less/global/inventory-fieldset-items.less index 46343c0a..e1cd33a1 100644 --- a/styles/less/global/inventory-fieldset-items.less +++ b/styles/less/global/inventory-fieldset-items.less @@ -12,7 +12,8 @@ .card-list { display: flex; flex-direction: row; - gap: 10px; + flex-wrap: wrap; + gap: 6px; align-items: center; } } diff --git a/styles/less/global/inventory-item.less b/styles/less/global/inventory-item.less index c9ed28d8..d936358b 100644 --- a/styles/less/global/inventory-item.less +++ b/styles/less/global/inventory-item.less @@ -290,7 +290,7 @@ .card-item { position: relative; height: 120px; - width: 100px; + width: 98px; border: 1px solid light-dark(@dark-blue, @golden); border-radius: 6px; cursor: pointer;