Skip to content
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

Carousel block inner column margin issue #3173

Open
andeng1106 opened this issue May 2, 2024 · 0 comments
Open

Carousel block inner column margin issue #3173

andeng1106 opened this issue May 2, 2024 · 0 comments
Assignees
Labels
[block] Carousel bug Something isn't working

Comments

@andeng1106
Copy link

Describe the bug

  • If I set margin on the Carousel block's Inner Column, it looks different on frontend compared to the editor
  • Issue on frontend

To Reproduce
Steps to reproduce the behavior:

  1. Add a new page (or skip steps and use this page instead)
  2. Add a Carousel block with at least 5 slides
  3. Set Carousel block to "Full Width"
  4. Set Slides to Show to 3
  5. Add these settings to each Inner Column:
    • Background Color to each Inner Column (not related to the issue but useful)
    • Margin (e.g. 15px on all sides) (setting that's causing the issue)
  6. Add a Heading block on each Inner Column and add long text content (not related to the issue but useful)
  7. Save page and view frontend
  8. Compare editor (correct) vs. frontend (issue)
  9. See that the third slide overlaps on the page, which shouldn't

Expected behavior

  • When adding a margin on the Carousel block's inner column, it should not overlap nor look different compared to the one in editor

Screenshots

Screen.Recording.2024-05-02.at.9.25.18.AM.mov
@andeng1106 andeng1106 added bug Something isn't working [block] Carousel labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[block] Carousel bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants