Restructure recipe grid
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m11s

This commit is contained in:
2026-04-08 22:53:17 +02:00
parent 165f39d0b7
commit 6bf50f67ad
5 changed files with 94 additions and 23 deletions

View File

@@ -58,6 +58,8 @@ function renderGrid() {
gridEl: grid,
emptyStateEl: emptyState,
recipes: getFilteredRecipes(),
showSlotLabels: false,
cardClassName: 'recipe-list-card',
});
requestAnimationFrame(syncRecipeScrollShadow);
}
@@ -82,8 +84,8 @@ export function getRecipeListHTML() {
scrollId: 'recipe-scroll',
gridId: 'recipe-grid',
emptyStateId: 'recipe-empty-state',
scrollClassName: 'relative flex-1 overflow-y-auto px-4 pt-20 pb-24 bg-[#2d2e2b]',
gridClassName: 'grid grid-cols-2 gap-3 bg-[#2d2e2b]',
scrollClassName: 'relative flex-1 overflow-y-auto px-4 pt-24 pb-24 bg-[#2d2e2b]',
gridClassName: 'grid grid-cols-3 gap-2 bg-[#2d2e2b]',
emptyTitle: 'Brak wyników',
emptyMessage: 'Zmień kryteria wyszukiwania lub filtry',
})}