Skip to content

Fix/prev next layout#5279

Open
abhijeetnardele24-hash wants to merge 1 commit into
vuejs:mainfrom
abhijeetnardele24-hash:fix/prev-next-layout
Open

Fix/prev next layout#5279
abhijeetnardele24-hash wants to merge 1 commit into
vuejs:mainfrom
abhijeetnardele24-hash:fix/prev-next-layout

Conversation

@abhijeetnardele24-hash

Copy link
Copy Markdown

Description

This PR refactors the footer CSS to ensure the "Previous page" and "Next page" navigation links remain side-by-side on narrower viewports.

Currently, the two-column grid layout for .prev-next relies on a @media (min-width: 640px) query, causing the links to unnecessarily stack vertically on mobile screens, which consumes excess vertical space and looks bulky. This PR removes that media query and applies the two-column grid unconditionally, matching the layout expectation described in the issue.

Linked Issues

Resolves #5208

Additional Context

Tested against mobile viewports down to 320px width to ensure the side-by-side buttons do not overflow or overlap the container boundaries.


Tip

The author can publish a preview release by commenting /publish after creating the PR.

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.

Keep prev/next links side by side on all screen widths

1 participant