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

Slider Component: Box shadow on elements within a slider can get cut off #1217

Closed
nicklepine opened this issue Jan 18, 2022 · 7 comments · Fixed by #1292 or #1772
Closed

Slider Component: Box shadow on elements within a slider can get cut off #1217

nicklepine opened this issue Jan 18, 2022 · 7 comments · Fixed by #1292 or #1772
Assignees
Labels
Category: Bug Something isn't working Severity: 2 High Severity

Comments

@nicklepine
Copy link

Box shadow on elements within a slider can get cut off

image

@nicklepine nicklepine added Severity: 1 Urgent Severity Category: Bug Something isn't working labels Jan 18, 2022
@melissaperreault
Copy link
Contributor

melissaperreault commented Jan 19, 2022

This is interesting because @kmeleta and I did had a fix for this not so long ago, seems like it was reintroduced. I also noticed another odd thing:

  • Featured collection: When Cards style are set to Standard + have positive vertical shadow offset with blur, the space below the cards is increased and it is not as appealing like it can be for the style Cards. Looks like a bug and that it has too much negative space. (Video reference)

@kmeleta kmeleta self-assigned this Jan 19, 2022
@kmeleta
Copy link
Contributor

kmeleta commented Jan 19, 2022

  • Featured collection: When Cards style are set to Standard + have positive vertical shadow offset with blur, the space below the cards is increased and it is not as appealing like it can be for the style Cards. Looks like a bug and that it has too much negative space. (Video reference)

@melissaperreault would you consider this card specific issue to be sev 1? Or can it wait until we have more time to improve the shadow padding logic in general?

@nicklepine
Copy link
Author

nicklepine commented Jan 20, 2022

@melissaperreault @kmeleta a similar issue is happening on the checkout button on the cart template. Is it possible to address on the same PR?
image

I'm noticing that we don't have any padding below the checkout button on the cart page (as observed when adding a section like image banner underneath) . Perhaps adding padding, or the top/bottom padding settings could help fix this.

image

@kmeleta
Copy link
Contributor

kmeleta commented Jan 20, 2022

Padding could certainly help if @melissaperreault wants to advise on a value. Otherwise if we didn't want to mess with padding, what you're seeing I think is more related to the PR that @sofiamatulis has up #1209. The background of the section below is covering the shadow of the checkout button because of the shadow's -1 z-index. We could probably add it to that as well. Thoughts?

@kmeleta
Copy link
Contributor

kmeleta commented Jan 21, 2022

Fix for the original severity 1 issue has been resolved in #1231. The standard card exception Meli mentioned is being handled in a follow up PR.

@melissaperreault
Copy link
Contributor

Padding could certainly help if @melissaperreault wants to advise on a value.

The value should follow the same we applied for other sections, example

@melissaperreault
Copy link
Contributor

Got reintroduced in some ways where we can still see the cut off:

cc. @danielvan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bug Something isn't working Severity: 2 High Severity
Projects
None yet
4 participants