fix(card-search): keep a single result at normal card width
LocationBasedServices/smartguide/pipeline/head This commit looks good

This commit is contained in:
2026-08-16 23:56:51 +02:00
parent bbd4ff8685
commit 27301bf6a5
@@ -28,7 +28,9 @@
.cards {
display: grid;
gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(var(--card-min-width), 1fr));
// auto-fill (not auto-fit) keeps empty tracks reserved, so a single result
// stays card-width instead of stretching to fill the whole row.
grid-template-columns: repeat(auto-fill, minmax(var(--card-min-width), 1fr));
padding: 0 1rem;
}