Skip to content

Conversation

@duckinator
Copy link

@duckinator duckinator commented Nov 10, 2025

Changes

Currently, .listItemImage has background-size: cover, which scales the picture to avoid empty space even if that hides part of the image. This can cause unwanted cropping:

Screenshot 2025-11-09 at 21-03-04 Jellyfin

With this change, it has background-size: contain, which scales the picture to ensure the entire image is visible, but may leave empty space around the image. This is how the same page looks with the change applied by (mis)using the "Custom CSS Code" in the server settings:

Screenshot 2025-11-09 at 21-03-13 Jellyfin

"cover" scales the picture to avoid empty space (even if some things are hidden).

"contain" scales the picture to ensure all of it is visible (even if there's empty space).
@duckinator duckinator requested a review from a team as a code owner November 10, 2025 02:04
@jellyfin-bot
Copy link
Collaborator

jellyfin-bot commented Nov 10, 2025

Cloudflare Pages deployment

Latest commit b097d50
Status ✅ Deployed!
Preview URL https://75cbca6f.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants