mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
Covers now use object-fit: contain inside a fixed slot, so each image keeps its own aspect ratio (letterboxed where needed) instead of being cropped to the platform's configured ratio. The slot itself still uses a single default aspect ratio for grid stability, so cards don't reflow as images load. With per-platform aspect ratio no longer doing anything visible, remove the Cover style picker from the platform info drawer and clean up dead plumbing: galleryViewStore.getAspectRatio no longer reads platform.aspect_ratio, platformId is dropped from Skeleton / SearchCover / MatchRom / showSearchCoverDialog, and the orphaned i18n keys (cover-style, settings, old-squared-cases, old-horizontal-cases) are stripped from all platform.json locale files. Backend aspect_ratio column is left in place; no client sends it anymore. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>