Skip to content

style(web): fix overlapping details metadata, genre chips, and overview text - #494

Merged
ProdigyV21 merged 3 commits into
ProdigyV21:mainfrom
Himanth-reddy:style/web-details-drawer-layout
Jul 28, 2026
Merged

style(web): fix overlapping details metadata, genre chips, and overview text#494
ProdigyV21 merged 3 commits into
ProdigyV21:mainfrom
Himanth-reddy:style/web-details-drawer-layout

Conversation

@Himanth-reddy

Copy link
Copy Markdown
Collaborator

Summary

Fixes visual overlapping in the details drawer layout where long overview paragraphs collided into genre pills (ADVENTURE, ACTION, FANTASY) and wrapped metadata rows collapsed into each other.

Changes Included

  1. Reordered Visual Hierarchy (DetailsDrawer.tsx):
    • Placed the overview paragraph below the rating line (IMDb badge, Watched chip, Genre chips) and metadata row.
  2. Metadata Flex Wrapping & Line Spacing (globals.css):
    • Added flex gap: 6px 0 and line-height: 1.5 to .detail-metadata and .detail-overview so multi-line wrapped metadata rows do not collide vertically.
  3. Spacing & Formatting:
    • Added bottom margins on overview text for clean separation before service logos and action buttons.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8f6a2ac873

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread web/app/globals.css
}

.detail-body p.detail-overview,
.detail-body p:not(.eyebrow) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Limit overview styles to the overview paragraph

When a detail page includes TV episode rows or review cards, this broad selector matches every non-eyebrow paragraph inside .detail-body, not just the moved overview. Because it appears after the existing .episode-info p and .review-card p rules, it overrides their margin/color/line-height and makes nested summaries/reviews inherit overview spacing and contrast, which can bloat those cards and undo their muted/clamped styling. Targeting only .detail-overview would keep this layout fix scoped to the hero copy.

Useful? React with 👍 / 👎.

Himanth-reddy and others added 3 commits July 28, 2026 15:53
style(web): stop the new screen padding stacking on non-hero pages

The top padding added to .screen is cancelled for heroes, but Watchlist,
Browse and Addons open with a .section-heading that already carries
clamp(112px, 14.3vh, 154px) of its own. Both applied, so those pages
rendered roughly double the intended gap above the first heading —
measured in the browser at 232px against 112px before the change, and up
to 314px at wide viewports.

Exclude the shapes that already provide their own offset: a leading
.section-heading, and .livetv-shell which sets its own. Verified in the
browser across all four screen shapes — hero 0, section-heading 0 (child
supplies 154), livetv 0, plain 160.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@
@ProdigyV21
ProdigyV21 force-pushed the style/web-details-drawer-layout branch from a999f7c to 3f9a23b Compare July 28, 2026 13:54
@ProdigyV21
ProdigyV21 merged commit 5147a23 into ProdigyV21:main Jul 28, 2026
4 checks passed
@Himanth-reddy Himanth-reddy added gssoc:approved GSSoC approved contribution level:intermediate Intermediate level task quality:clean Clean code implementation type:bug Bug fix type:design UI/UX design enhancements labels Jul 29, 2026
@Himanth-reddy

Copy link
Copy Markdown
Collaborator Author

/pr-status

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

Labels

gssoc:approved GSSoC approved contribution level:intermediate Intermediate level task quality:clean Clean code implementation type:bug Bug fix type:design UI/UX design enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants