Fix: mobile responsiveness issues on TanStack DB page#506
Merged
SeanCassiere merged 1 commit intoTanStack:mainfrom Nov 11, 2025
Merged
Fix: mobile responsiveness issues on TanStack DB page#506SeanCassiere merged 1 commit intoTanStack:mainfrom
SeanCassiere merged 1 commit intoTanStack:mainfrom
Conversation
✅ Deploy Preview for tanstack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
LGTM |
schiller-manuel
approved these changes
Oct 6, 2025
Modified the DBVersionIndex component to enhance layout responsiveness by adjusting max-width properties and grid structure for better display on various screen sizes.
c23d5fe to
bb2ae79
Compare
SeanCassiere
approved these changes
Nov 11, 2025
LeCarbonator
pushed a commit
to LeCarbonator/tanstack.com
that referenced
this pull request
Jan 11, 2026
refactor: update layout and responsiveness of DBVersionIndex component Modified the DBVersionIndex component to enhance layout responsiveness by adjusting max-width properties and grid structure for better display on various screen sizes.
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.

Fixes #505
This PR addresses an issue where the TanStack DB documentation layout overflowed horizontally on mobile devices.
Problem
The TanStack DB documentation page was not responsive on mobile devices, causing horizontal overflow and unwanted scrolling on small viewports.
Changes Made
w-3xlclass with responsivemax-w-[90vw] sm:max-w-[500px] lg:max-w-[800px]to prevent text overflow on mobilegrid-cols-2togrid-cols-1 sm:grid-cols-2to stack items vertically on mobilegap-x-4 sm:gap-x-10 lg:gap-x-12for better mobile spacingmax-w-[90vw] sm:max-w-[500px] lg:max-w-[650px]to the grid containerBefore
After
Testing
The page now properly adapts to small viewports while preserving the existing desktop experience.