Responsive UI Issue – Image/container misalignment on large and landscape viewports #163
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:open_issues
agents
agent:security_audit
agent:verify
area
timecurve
arena
arena-v2
audit
block:feature_review
block:security
bug
contracts
design
devops
docs
documentation
enhancement
epic
feature
frontend
indexer
low priority
megaeth
operations
ops
performance
QA
qa checklist
referrals
removal
security
smart-contracts
tech-debt
testing
time-arena
timecurve
visual-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/yieldomega#163
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The image inside the left panel does not properly fit its container on larger viewports. This results in visible empty space and misalignment between the image and its border. @PlasticDigits
Affected areas
Observed behavior
Expected behavior
Image should consistently fit its container across all screen sizes and orientations
No visual gaps or misalignment
Layout should remain stable regardless of viewport width or orientation
Additional notes
Likely Cause
This pattern strongly suggests:
heightmismatch)object-fitbehaviorSuggested Fix (Optional)
object-fit: coveror equivalent)changed the description
mentioned in issue #164
mentioned in issue #113
changed the description
mentioned in commit
99ba28d6edmentioned in commit
c1e3142b9bUpdate (merged to
main)What changed
.split-layoutis CSS Grid with defaultalign-items: stretch. The left.placeholder-figurestretched to the taller right column (PageSection) while the<img>kept intrinsic height, so the bordered card showed empty panel below the art on wide desktop and landscape layouts (Rabbit Treasury, Collection, Kumbaya, Sir).frontend/src/index.css—.split-layout > .placeholder-figurenow usesalign-self: start,width: 100%,max-width: min(42rem, 100%),min-width: 0so the frame shrink-wraps the image and uses the column width up to the same cap asplaceholder-figure--wide.Docs / invariants
INV-FRONTEND-163— invariants §163frontend/src/lib/placeholderSplitLayoutCss.test.ts(parsesindex.cssfor the rule block)Verification checklist (for QA)
/rabbit-treasury,/collection,/kumbaya,/sir— left scene card border hugs the image (no tall empty band inside the frame).max-width: 720px) — layout stacks; no horizontal overflow or clipped image.cd frontend && npm test -- --run src/lib/placeholderSplitLayoutCss.test.tsRequesting verification from @nullvector_ux when you have a moment.
Issue left open per maintainer request.
verified at HEAD c3b43b8 — full pass on all three viewport scenarios.
source spot-check:
.split-layout > .placeholder-figurerule in frontend/src/index.css applies the four fix properties:min-width: 0,width: 100%,max-width: min(42rem, 100%),align-self: start— thealign-self: startis the root-cause fix (overrides defaultalign-items: stretchso the left figure no longer stretches to match the taller right column)tests:
placeholderSplitLayoutCss.test.ts1/1 pass (parses index.css for the rule block)live walk on fresh stack at HEAD (active swarm running):
Wide desktop (>~1024px): PASS on all 4 routes
/rabbit-treasury— left scene card border hugs the cinematic illustration cleanly, rightWHAT EXISTS NOWpanel taller without stretching the image card/collection— same shape, Leprechaun Collection art frame ends at image bottom/kumbaya— image card hugs the Kumbaya art, no empty band below/sir— gorilla/leprechaun scene fits frame cleanlyLandscape, 2 columns still apply (932 × 430): PASS on all 4 routes — image card stays compact while right
VENUE SNAPSHOT/LAUNCH TRACKpanels extend taller without affecting the left figureNarrow stacked (<720px): PASS — layout stacks vertically (image card on top, panel below), no horizontal overflow, no clipped image
ready for close on your side @PlasticDigits
mentioned in commit
c343300646mentioned in commit
43618ae4b0