fix(homepage): keep IDE plugin cards side-by-side and spaced#583
Merged
Conversation
The plugin cards used the infima row/col--6 grid, which collapses to full-width below the 996px breakpoint, stacking the cards (and leaving them touching at intermediate widths). Replace the grid markup with a dedicated CSS grid that holds two columns until 768px and uses a gap for consistent spacing in both layouts.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
aditya-scio
approved these changes
Jun 19, 2026
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
The "Official IDE Plugins" cards on the homepage were stacking vertically and touching, instead of sitting side-by-side.
Root cause: The cards used Docusaurus's infima
row/col col--6grid, which collapses to full-width (stacked) below the 996px breakpoint. At typical laptop widths just under 996px the cards stacked, and at intermediate widths they touched because the separating margin only kicked in at 768px.BEFORE:
AFTER:



Fix
In
src/components/Homepage/IDEPluginSection.{tsx,module.css}:row/col col--6markup with a dedicated CSS grid (.grid) usinggrid-template-columns: repeat(2, 1fr)andgap: 1.5rem.max-width: 768px(true mobile), where the same gap handles vertical spacing.Verification
Verified via Chrome DevTools across widths: