fix: unify page width to 1400px with centered layout#2700
Closed
sykp241095 wants to merge 8 commits intomainfrom
Closed
fix: unify page width to 1400px with centered layout#2700sykp241095 wants to merge 8 commits intomainfrom
sykp241095 wants to merge 8 commits intomainfrom
Conversation
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).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- 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.
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
All analysis pages (repo, org, compare, developer) used
max-w-[1280px]withoutmx-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:max-w-[1280px](no mx-auto)mx-auto max-w-[1400px] lg:px-12max-w-[1280px](no mx-auto)mx-auto max-w-[1400px] lg:px-12max-w-[1280px](no mx-auto)mx-auto max-w-[1400px] lg:px-12max-w-[1280px]max-w-[1400px] lg:px-12max-w-[1280px]max-w-[1400px] lg:px-12All pages now match the collection detail page (1400px, centered).