Skip to content

fix: polish versions layout#621

Merged
danielroe merged 9 commits intonpmx-dev:mainfrom
alexdln:fix/polish-versions-layout
Feb 1, 2026
Merged

fix: polish versions layout#621
danielroe merged 9 commits intonpmx-dev:mainfrom
alexdln:fix/polish-versions-layout

Conversation

@alexdln
Copy link
Copy Markdown
Member

@alexdln alexdln commented Feb 1, 2026

A minor revision and improvement of another PR (#549 ) based on what was discussed and implemented in the previous PR.

I've finalized the overall layout. Each version can take up a maximum of 40% of the page. If possible, the version is not cropped, but the title is. If neither fits, both are cropped. Content is always at the edges.

I also removed the span between the name and version. I see it was added during the RTL improvements, but I checked that everything looks great in RTL without it now.

The layout on the mobile version has also improved

Example with optional deps - vitest

Closes #532
closes #549

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 1, 2026

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 1, 2026 10:12am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 1, 2026 10:12am
npmx-lunaria Ignored Ignored Feb 1, 2026 10:12am

Request Review

Comment thread app/components/PackageDependencies.vue
Comment thread app/components/PackageDependencies.vue Outdated
@danielroe danielroe added this pull request to the merge queue Feb 1, 2026
Merged via the queue into npmx-dev:main with commit cefc172 Feb 1, 2026
13 checks passed
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.

Peer dependency versions cut off on mobile

3 participants