Skip to content

fix: unify page width to 1400px with centered layout#2700

Closed
sykp241095 wants to merge 8 commits intomainfrom
fix/unify-page-width
Closed

fix: unify page width to 1400px with centered layout#2700
sykp241095 wants to merge 8 commits intomainfrom
fix/unify-page-width

Conversation

@sykp241095
Copy link
Copy Markdown
Member

Problem

All analysis pages (repo, org, compare, developer) used max-w-[1280px] without mx-auto, causing content to sit left-aligned with large right whitespace on wide screens. Collection detail page was already fixed to 1400px in #2697 but other pages were inconsistent.

Changes

Unified all pages to mx-auto max-w-[1400px] lg:px-12:

Page Before After
Repo analysis max-w-[1280px] (no mx-auto) mx-auto max-w-[1400px] lg:px-12
Org analysis max-w-[1280px] (no mx-auto) mx-auto max-w-[1400px] lg:px-12
Compare max-w-[1280px] (no mx-auto) mx-auto max-w-[1400px] lg:px-12
Developer analysis max-w-[1280px] max-w-[1400px] lg:px-12
Collections list max-w-[1280px] max-w-[1400px] lg:px-12

All pages now match the collection detail page (1400px, centered).

Standardize all analysis pages to consistent max-w-[1400px] mx-auto layout:
- Repo analysis: 1280px → 1400px, added mx-auto + lg:px-12
- Org analysis: 1280px → 1400px, added mx-auto + lg:px-12
- Compare page: 1280px → 1400px, added mx-auto + lg:px-12
- Developer analysis: 1280px → 1400px, added lg:px-12
- Collections list: 1280px → 1400px, added lg:px-12

All pages now match the collection detail page width (1400px).
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ossinsight-docs Ready Ready Preview, Comment Mar 31, 2026 6:36am
ossinsight-web Ready Ready Preview, Comment Mar 31, 2026 6:36am

Request Review

- Collection detail: remove max-w entirely (sidebar layout handles width)
- Repo/Org/Compare/Developer/Collection list: 1400px → 1600px
- Reduces wasted whitespace on 1920+ screens
Tables were using min-w-[860px] without w-full, causing them to only
size to content width and leaving empty space on wide screens.
Repository column now takes up remaining space (width: 99%) so Stars
and Total columns sit closer to the right edge without a gap.
… pages

Keep BreadcrumbListJsonLd (invisible structured data for SEO) but remove
the visible Breadcrumb component from repo analysis and developer analysis pages.
Long collection names like 'Anomaly Detection Software' were being
truncated. 380px gives enough room for most names.
All analysis pages (repo, org, compare, developer) had a 160px sidebar
which was too narrow. Widened to 220px for better readability.
@sykp241095
Copy link
Copy Markdown
Member Author

Superseded by #2706 and #2713 which include all these changes and more.

@sykp241095 sykp241095 closed this Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant