Skip to content
SprecherEast
Issue 567

bug: official portraits on resource cards are a circle that cuts off the head

Back to our plan
Done
bugfrontendstylingpriority: medium

Problem

The portrait on an elected official's resource card is a small circle that cuts off the top of the official's head and hair (Alder Sean O'Brien's card, the first one with a photo, live since #566).

The owner asked for it (2026-11-01, Claude in Chrome side panel, text): the photo looks wrong and should be a square with rounded corners like the card, not a circle. The circle was cutting off the top of the alder's head, so check the photo and make sure no part of the face, head or hair is cropped, leaving some space so it looks right.

Steps to reproduce

  1. Open /resources.
  2. Look at the Alder Sean O'Brien card in Elected Officials.
  3. The circle crops the top of his hair.

Proposed fix

Make the portrait a rounded square with the same corner radius as cards (rounded-2xl), a bit larger than now, and anchor the crop to the top of the photo so the head and hair are never cut. The source photo has about 3% headroom, so top-anchoring is the most room a square can keep.

Acceptance criteria

  • The portrait is a rounded square, not a circle, with the card's corner radius.
  • The whole head, hair and face show on the live card at 320, 430, 768, 1024, 1280 and 1920 px, in light and dark mode.
  • No horizontal scrolling and the credit still reads.
  • Part of #393.

Area

frontend, styling


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab