Restructure recipe grid
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m11s
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m11s
This commit is contained in:
@@ -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',
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user