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

@@ -43,7 +43,7 @@ export function initializeInfiniteScroll(pageType = 'loras') {
break;
}
const debouncedLoadMore = debounce(loadMoreFunction, 200);
const debouncedLoadMore = debounce(loadMoreFunction, 100);
state.observer = new IntersectionObserver(
(entries) => {