-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block: Fix carousel width & whitespace issues #12564
Conversation
Plugin builds for 484ea39 are ready 🛎️!
|
Size Change: +57 B (0%) Total Size: 2.72 MB ℹ️ View Unchanged
|
So this is a revert of - #12469? What about this issue? How about lowering the min width? Would this help the issue? |
Maybe just add min width of in carousel is set. |
@spacedmonkey This is not a full revert. This only adds back the min-width for carousels, but not for the grid column layout (which the original PR was targeting) |
Further test conducted:
|
Context
This PR fixes two issues:
First, the Glider track width calculation was quite off, causing white space to appear at the beginning of the carousel. Noticeable mostly on Firefox, but also on Chrome.
Summary
Fixes a regression with the carousel layout in v1.26.0.
Also avoids unnecessary whitespace at the beginning of the carousel
Relevant Technical Choices
To-do
User-facing changes
Whitespace issue
See: https://www.youtube.com/watch?v=dCpdV3PurC0
Width issue
Before:
After:
Testing Instructions
This PR can be tested by following these steps:
For completeness sake, also test other layout options to see if there are no regressions.
Reviews
Does this PR have a security-related impact?
No
Does this PR change what data or activity we track or use?
No
Does this PR have a legal-related impact?
No
Checklist
Type: XYZ
label to the PRFixes #12563
Fixes #12170