Skip to content

Conversation

@priyanshu4999
Copy link

Description

Fixes : [Pricing] Make Tier Comparison Header Sticky and Update Comparison Component (#6122)

-- Feature request for sticky header on comparison table for easy view.

Notes for Reviewers

Screen.Recording.2025-08-30.205718.mp4

-- Sticky header (Subscription Tier header) positioning uses relative measurements independent of navbar length for it to adapt to different screen widths (future point of concern).
-- Tables split into two and concatenated to implement the feature. Table widths updated; overflow-x now scrolls properly on smaller devices.
-- Media queries adjusted for responsive design.

Signed commits

  • Yes, I signed my commits.

@l5io
Copy link
Contributor

l5io commented Aug 30, 2025

🚀 Preview for commit 57cbe2b at: https://68b32e6ad231841ea0e539e4--layer5.netlify.app

@@ -1,40 +1,39 @@
import React from "react";
import styled from "styled-components";
import details from "./generateDetails";
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this unwanted change.

Copy link
Contributor

@vr-varad vr-varad left a comment

Choose a reason for hiding this comment

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

image

The table and header are not in sync, if I move the table the header doesn't move with it.

.price-table tr:hover {
background-color: ${props => props.theme.secondaryLightColor};
.price-table tr:hover {
background-color: ${(props) => props.theme.secondaryLightColor};
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove unwanted formatting changes.

.price-table tr.price-table-head td {
.price-table tr.price-table-head td {
font-size: 1.15rem;
Copy link
Contributor

Choose a reason for hiding this comment

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

here as well.

Copy link
Contributor

@vr-varad vr-varad left a comment

Choose a reason for hiding this comment

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

@priyanshu4999 Please remove unwanted formating changes.

…isble for main container, tuned header postion w.r.t nav bar , updated media queries for table width and position

Signed-off-by: priyanshu4999 <[email protected]>
@priyanshu4999
Copy link
Author

priyanshu4999 commented Aug 31, 2025

Apologies for unwanted formatting, I will remember to disable code formatter in future.
As for Sync body and head, Now both ways scrolling works, somehow missed it while testing on desktop.

@l5io
Copy link
Contributor

l5io commented Aug 31, 2025

🚀 Preview for commit df5ecb5 at: https://68b433233ff74e21707f02bd--layer5.netlify.app

@l5io
Copy link
Contributor

l5io commented Aug 31, 2025

🚀 Preview for commit 4e7e889 at: https://68b437a8f002a9573bbf6038--layer5.netlify.app

Copy link
Contributor

@vr-varad vr-varad left a comment

Choose a reason for hiding this comment

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

image

As you have removed the scroll from the table its very difficult to find how to scroll (sideways)

like this one which is present in the current folder.

image

@priyanshu4999
Copy link
Author

priyanshu4999 commented Aug 31, 2025

I get that, The scroll on table before was at very bottom, one need to scroll completely down to there , write now it is just below header and is visible on hover keeping previous theme , only thing i did is to shift it below sticky header and make it thin. If that is uncomfortable i can replace it at table end and revert it to normal thickness.

@l5io
Copy link
Contributor

l5io commented Aug 31, 2025

🚀 Preview for commit 3111c76 at: https://68b49a0a42a18050e8344dbb--layer5.netlify.app

@vr-varad
Copy link
Contributor

vr-varad commented Sep 1, 2025

Thank you for your contribution!
Let's discuss this during the website call today at 5:30 PM IST | 7 AM CT

Add it as an agenda item to the meeting minutes, if you would :)

Signed-off-by: priyanshu4999 <[email protected]>
@l5io
Copy link
Contributor

l5io commented Sep 1, 2025

🚀 Preview for commit 5f79c51 at: https://68b5d44c9b84c822877bcc6f--layer5.netlify.app

@l5io
Copy link
Contributor

l5io commented Sep 1, 2025

🚀 Preview for commit 6d47d9a at: https://68b5f62eda4b29aa713fa065--layer5.netlify.app

@priyanshu4999
Copy link
Author

Hi @vr-varad, just wanted to ask if anything is pending for this pr to be resolved?

@l5io
Copy link
Contributor

l5io commented Sep 7, 2025

🚀 Preview for commit be78861 at: https://68bd31bfcd486a77c29d99c1--layer5.netlify.app

@Namanv0509
Copy link
Contributor

Thank you for your contribution!
Let's discuss this during the website call today at 5:30 PM IST | 7 AM CT

Add it as an agenda item to the meeting minutes, if you would :)

@Namanv0509
Copy link
Contributor

Thank you for your contribution!
Let's discuss this during the website call today at 5:30 PM IST | 7 AM CT

Add it as an agenda item to the meeting minutes, if you would :)

Copy link
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.

while scrolling half of the headings alone sticky , balance goes up
image
kindly consider this and make it possible , Thank you

@Namanv0509
Copy link
Contributor

@priyanshu4999 any update on it ?

@l5io
Copy link
Contributor

l5io commented Oct 8, 2025

🚀 Preview for commit 512d667 at: https://68e6f7a7c157e091492f7c3c--layer5.netlify.app

@Rajesh-Nagarajan-11
Copy link
Member

Rajesh-Nagarajan-11 commented Oct 26, 2025

@priyanshu4999 any updates ??

@Namanv0509 Namanv0509 self-assigned this Nov 13, 2025
@l5io
Copy link
Contributor

l5io commented Nov 13, 2025

🚀 Preview for commit 239bbcb at: https://691588b458452d0963958e16--layer5.netlify.app

@leecalcote
Copy link
Member

merge conflict.

@leecalcote
Copy link
Member

There has been no update from the PR author for a month or so. I'll close this PR.

@leecalcote leecalcote closed this Dec 1, 2025
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.

6 participants