Refactor recipe card styles and update HTML structure

- Migrated CSS styles from recipe-card.css to card.css for better organization.
- Updated recipe card class names in HTML to align with new styling conventions.
- Enhanced card layout with additional flex properties for improved responsiveness.
- Adjusted infinite scroll debounce timing for better performance.
This commit is contained in:
Will Miao
2025-03-20 21:42:17 +08:00
parent 5cfae7198d
commit 34078d8a60
5 changed files with 60 additions and 5 deletions

View File

@@ -27,6 +27,7 @@
overflow: hidden;
box-shadow: var(--shadow-sm);
transition: all 0.2s ease;
aspect-ratio: 896/1152;
cursor: pointer;
display: flex;
flex-direction: column;