bug: story chapter banner images are cropped — characters and important details cut off #226

Closed
opened 2026-04-02 18:56:58 -07:00 by hikari · 0 comments
Owner

Description

Story chapter banner images are rendered at a fixed height: 220px with object-fit: cover and width: 100%. This creates a wide cinematic strip, but crops out content above and below the 220px band. Players can see figures and characters being cut off at the top of the images.

Root Cause

In apps/web/src/styles.css, the .story-chapter-banner class is defined as:

.story-chapter-banner {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

object-fit: cover scales the image to fill the container, cropping anything outside the 220px height window.

Fix Options

  1. Increase the display height — raise height to something like 400px or more to show more of the art
  2. Regenerate the images — compose the art specifically for the 220px crop window so the important content (characters, focal points) falls within that band
  3. Use object-fit: contain — shows the full image without cropping, though this may leave empty space

Reported By

  • deusmortis

This issue was created with help from Hikari~ 🌸

## Description Story chapter banner images are rendered at a fixed `height: 220px` with `object-fit: cover` and `width: 100%`. This creates a wide cinematic strip, but crops out content above and below the 220px band. Players can see figures and characters being cut off at the top of the images. ## Root Cause In `apps/web/src/styles.css`, the `.story-chapter-banner` class is defined as: ```css .story-chapter-banner { height: 220px; width: 100%; object-fit: cover; } ``` `object-fit: cover` scales the image to fill the container, cropping anything outside the 220px height window. ## Fix Options 1. **Increase the display height** — raise `height` to something like `400px` or more to show more of the art 2. **Regenerate the images** — compose the art specifically for the 220px crop window so the important content (characters, focal points) falls within that band 3. **Use `object-fit: contain`** — shows the full image without cropping, though this may leave empty space ## Reported By - deusmortis ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-04-06 18:17:04 -07:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/elysium#226