mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-07 21:12:55 +01:00
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:
2
constants/Values.ts
Normal file
2
constants/Values.ts
Normal 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;
|
||||
Reference in New Issue
Block a user