fix: show exactly 5 content cards per row on desktop across all tabs
Cards used a fixed 280px width which showed ~6 on most desktops. Algorithm filter tabs used a 5-column grid. This mismatch caused layout jumping when switching tabs. Now uses calc((100vw - 12rem) / 5) so exactly 5 cards are visible on desktop for all scroll rows (Films, My List, Rentals, etc.), matching the 5-column grid in filter views. Mobile stays at 200px. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,7 +20,7 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
CACHEBUST: "17"
|
||||
CACHEBUST: "18"
|
||||
VITE_USE_MOCK_DATA: "false"
|
||||
VITE_CONTENT_ORIGIN: ${FRONTEND_URL}
|
||||
VITE_INDEEHUB_API_URL: /api
|
||||
|
||||
Reference in New Issue
Block a user