diff --git a/webapp/src/app/shared/ui/card-search/card-search.component.scss b/webapp/src/app/shared/ui/card-search/card-search.component.scss index 4b96e61b..23ddbd45 100644 --- a/webapp/src/app/shared/ui/card-search/card-search.component.scss +++ b/webapp/src/app/shared/ui/card-search/card-search.component.scss @@ -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; }