Description
The banner image on /landing/kcd-vietnam gets cropped due to object-fit: cover not suiting its square aspect ratio. Important visual content is lost because the current CSS is designed for wide/landscape banners, but this event's banner image is square.
Steps to Reproduce
- Visit https://project-hami.io/landing/kcd-vietnam and https://project-hami.io/landing/kubecon-japan
- Observe the event banner at the top of the page
Expected Behavior
The banner image should display without unwanted cropping, regardless of its aspect ratio. Possible approaches:
- Use
object-fit: contain instead of cover for the .banner class
- Adjust the container's height/aspect-ratio to better match square images
- Add per-event configuration for banner display mode
Screenshot
(attach the screenshot of the cropped banner here — drag it into this box)
Related
Noticed while working on #742. Tracked separately since it's an unrelated visual/CSS issue.

Description
The banner image on
/landing/kcd-vietnamgets cropped due toobject-fit: covernot suiting its square aspect ratio. Important visual content is lost because the current CSS is designed for wide/landscape banners, but this event's banner image is square.Steps to Reproduce
Expected Behavior
The banner image should display without unwanted cropping, regardless of its aspect ratio. Possible approaches:
object-fit: containinstead ofcoverfor the.bannerclassScreenshot
(attach the screenshot of the cropped banner here — drag it into this box)
Related
Noticed while working on #742. Tracked separately since it's an unrelated visual/CSS issue.