Skip to content

Improve mobile pricing table usability#7736

Open
WildTrio wants to merge 3 commits into
layer5io:masterfrom
WildTrio:fix-mobile-pricing-sticky-header
Open

Improve mobile pricing table usability#7736
WildTrio wants to merge 3 commits into
layer5io:masterfrom
WildTrio:fix-mobile-pricing-sticky-header

Conversation

@WildTrio
Copy link
Copy Markdown
Contributor

Description

This PR fixes #7665 by improving the Pricing section UI for mobile users. The changes ensure better visibility and alignment of feature checkmarks and improve the overall responsive layout experience.

Notes for Reviewers

  • Updated the Pricing section responsiveness for smaller screens.
  • Improved UI alignment and visibility in mobile view.
  • Tested the changes locally.

[Signed commits](https://github.com/layer5io/layer5/blob/master/CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin)

  • Yes, I signed my commits.

Signed-off-by: Yash Patel <patelyash142007@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 16, 2026

Preview deployment for PR #7736 removed.

This PR preview was automatically pruned because we keep only the 6 most recently updated previews on GitHub Pages to stay within deployment size limits.

If needed, push a new commit to this PR to generate a fresh preview.

Copy link
Copy Markdown
Member

@rishiraj38 rishiraj38 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this; it shouldn’t be transparent.

Image

@rishiraj38
Copy link
Copy Markdown
Member

rishiraj38 commented May 16, 2026

Could you please refer to the current site? It seems like the pricing component doesn’t have a separate scrollable table. Instead, they move with the main page. Could you please move that component to the page scroll only until the table appears and then remove it?

@WildTrio
Copy link
Copy Markdown
Contributor Author

Actually, I’m facing issues while setting up the codebase locally. For now, I have only forked the src folder, made the required changes, and tested the code in a separate test folder. As soon as I’m able to set up the complete codebase locally, I’ll solve the issue properly.

@Bhumikagarggg
Copy link
Copy Markdown
Contributor

@WildTrio Thank you for your contribution! Let's discuss this during the website call tomorrow at 5:30 PM IST | 7 AM CST Add it as an agenda item to the meeting minutes, if you would 🙂

@naman79820
Copy link
Copy Markdown

Actually, I’m facing issues while setting up the codebase locally. For now, I have only forked the src folder, made the required changes, and tested the code in a separate test folder. As soon as I’m able to set up the complete codebase locally, I’ll solve the issue properly.

If you’re still not able to set it up locally, try using Codespaces instead (would recommend it only for these minor fixes).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Improves the mobile usability of the Pricing comparison table by enabling scrollable table layout, tightening spacing on smaller screens, and making the header row stick to the top while scrolling.

Changes:

  • Adjusted the comparison table container to support scrolling with a capped viewport height.
  • Added minimum table widths and mobile-specific padding/font sizing for better readability.
  • Updated header styling to be sticky and more visually consistent during scroll.

Comment on lines +24 to 28
overflow-y: auto;
position: relative;
-webkit-overflow-scrolling: touch;
max-height: 80vh;
transition: 0.6s cubic-bezier(0.5, 1);
Comment on lines +92 to +97
.price-table-head td {
position: sticky;
top: 0;
z-index: 20;
background-color:${props => props.theme.secondaryColor};
color: #FFFFFF;
Comment thread src/sections/Pricing/comparison.js
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Yash Patel  <patelyash142007@gmail.com>
Copy link
Copy Markdown
Member

@Rajesh-Nagarajan-11 Rajesh-Nagarajan-11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue is not about mobile responsiveness , its about making the header sticky

@Rajesh-Nagarajan-11 Rajesh-Nagarajan-11 added the issue/dco Commit sign-off instructions label May 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🚨 Alert! Git Police! We couldn’t help but notice that one or more of your commits is missing a sign-off. A what? A commit sign-off (your email address).

To amend the commits in this PR with your signoff using the instructions provided in the DCO check.

To configure your dev environment to automatically signoff on your commits in the future, see these instructions.


        Be sure to join the community, if you haven't yet and please leave a ⭐ star on the project 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

issue/dco Commit sign-off instructions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pricing: subscription plans as a sticky row

6 participants