Skip to content

Conversation

@Aashish-Jha-11
Copy link

I've implemented adds specific spacing for carousel items when they have the slick-slide class applied. This ensures that-
Each carousel item has a margin 0 5px which provides 10px total spacing between items , The padding 2px is maintained for consistent internal spacing.

Closes #11036

Technical

Testing

Screenshot

Stakeholders

…ave the slick-slide class applied. This ensures that:

Each carousel item has a margin: 0 5px which provides 10px total spacing between items
The padding: 2px is maintained for consistent internal spacing
These styles are specific to the combination of .slick-slide.carousel__item so they only apply when Slick carousel is active
This should resolve the missing padding/spacing issue you're seeing in the carousel items. The spacing will be more consistent and visible between the book cards in the carousel.
Copilot AI review requested due to automatic review settings July 21, 2025 13:53
Copy link
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

This PR fixes CSS padding/spacing issues for carousel items on the HomePage by adding specific margin and padding rules for slick carousel slides. The change addresses inconsistent spacing between carousel items by implementing a standardized spacing approach.

  • Adds margin and padding rules for carousel items with slick-slide class
  • Implements 10px total spacing between items (5px margin on each side)
  • Maintains consistent 2px internal padding for carousel items
Comments suppressed due to low confidence (1)

@github-actions github-actions bot added the Priority: 1 Do this week, receiving emails, time sensitive, . [managed] label Jul 21, 2025
@github-project-automation github-project-automation bot moved this to Waiting Review/Merge from Staff in Ray's Project Jul 21, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 17.02%. Comparing base (e027195) to head (cf0bc35).
Report is 292 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11048      +/-   ##
==========================================
- Coverage   17.14%   17.02%   -0.12%     
==========================================
  Files          91       92       +1     
  Lines        4981     5021      +40     
  Branches      867      874       +7     
==========================================
+ Hits          854      855       +1     
- Misses       3588     3621      +33     
- Partials      539      545       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@RayBB
Copy link
Collaborator

RayBB commented Jul 21, 2025

Please include screenshots.
Also, this change would seem to effect all carousel items not just the waitlist item. We should understand why just that one button was being effected and if this change will impact the other carousel button types.

@doct0r-furcation
Copy link
Contributor

@RayBB found this to be the one way in which "Join Waitlist" does not share with other options -
image
The "form" button is not present for any of the other entries (These being link, and link.) ; is that a possible reason?

@RayBB RayBB moved this from Waiting Review/Merge from Staff to Someone else is working on it in Ray's Project Jul 23, 2025
@github-actions github-actions bot added the Needs: Response Issues which require feedback from lead label Jul 23, 2025
@mekarpeles
Copy link
Member

If I remove the button from a form, I can confirm as @doct0r-furcation suggests that the carousel button renders correctly.

If I remove both classes from the form join-waitlist waitinglist-form the problem still occurs, so it is likely a property of the form or a combo of the form and the button.

Typically class cta-button-group has margin-top: 10px; but does not in the case of the form.

That's where I'd start.

.book {
& > .cta-button-group,
& > .cta-btn {
margin-top: 10px;
}

It seems likely the problem is

.book {
  & > .cta-button-group,
  & > .cta-btn {
    margin-top: 10px;
  }

applies directly to direct descendants and form causes this to be .book form cta-button-group.

So, what solution should we go with? We could try something like...

.book {
  & > form .cta-button-group,  
  & > .cta-button-group,
  & > .cta-btn {
    margin-top: 10px;
  }

@mekarpeles
Copy link
Member

mekarpeles commented Jul 24, 2025

@Aashish-Jha-11 thank you for your effort in trying to help :)

@doct0r-furcation given you're assigned to this issue, would like to try to open the pull request and test the solution?

@doct0r-furcation
Copy link
Contributor

@mekarpeles you got it!

@cdrini
Copy link
Collaborator

cdrini commented Aug 11, 2025

Closed in #11079 , thanks everyone!

@cdrini cdrini closed this Aug 11, 2025
@RayBB RayBB removed this from Ray's Project Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Response Issues which require feedback from lead Priority: 1 Do this week, receiving emails, time sensitive, . [managed]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

css bug for join waitlist on home page

6 participants