refactor: restore shared POSTER_CAROUSEL_HEIGHT constant

The constant had been inlined as a duplicated local in two files and as a
magic 220 in two others. Restore a single source of truth in
constants/Values.ts.
This commit is contained in:
Uruk
2026-05-22 01:46:45 +02:00
parent bd88de8a90
commit ac8baa5909
5 changed files with 8 additions and 9 deletions

2
constants/Values.ts Normal file
View File

@@ -0,0 +1,2 @@
// Matches `w-28` poster cards (approx 112px wide, 10/15 aspect ratio) + 2 lines of text.
export const POSTER_CAROUSEL_HEIGHT = 220;