Skip to content

Fix card comparison page to display cards with equal widths#15

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-comparison-card-width
Draft

Fix card comparison page to display cards with equal widths#15
Copilot wants to merge 2 commits intomainfrom
copilot/fix-comparison-card-width

Conversation

Copy link

Copilot AI commented Jan 29, 2026

Cards on the comparison page had inconsistent widths due to using deprecated MUI v5 Grid props with MUI v7.

Changes

  • Updated CardComparisonPage.jsx to use MUI v7 Grid size prop syntax
// Before (deprecated)
<Grid item xs={12} sm={6} md={4}>

// After
<Grid size={{ xs: 12, sm: 6, md: 4 }}>

Screenshots

Before After
Before After

Responsiveness maintained across breakpoints (3 cols desktop, 2 cols tablet, 1 col mobile).

Original prompt

I see that in the comparison card page, the cards have different widths, can you make sure that they have the same width while maintaining responsiveness when resizing the browser window


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

… v7 Grid size prop

Co-authored-by: yortch <4576246+yortch@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix comparison card widths for responsive design Fix card comparison page to display cards with equal widths Jan 29, 2026
Copilot AI requested a review from yortch January 29, 2026 14:41
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.

2 participants