Open mikeicode opened 3 years ago
Thanks for the report, @mikeicode! I can replicate this bug, but I think that this is an issue with the Storefront Powerpack extension rather than Storefront theme. I'll move this issue there shortly.
Before I do, @Aljullu - paging you as the CSS Guru, do you think that adding overflow: visible
to .sp-fixed-width .site
here is an acceptable solution to this? Or do you believe this is an issue with Storefront theme?
Interesting issue! I think it all depends on what the expectation is when using the Content frame
option with wide-aligned blocks: should wide blocks become narrower or should they overflow the container? I'm not sure if there is a correct answer because the Content frame
option and wide alignment attribute feel contradictory to me: does it make sense making something wide if it needs to be contained in a frame? :thinking:
do you think that adding
overflow: visible
to.sp-fixed-width .site
here is an acceptable solution to this? Or do you believe this is an issue with Storefront theme?
That was my first thought as well and if the goal is to get the wide blocks to overflow the container, it works great. So a +1 from my side to go with this solution. :+1:
thanks @Aljullu - yeah I'm not sure either what the best UX here would be, if we do want to contain the content, then this would actually be a Gutenberg issue wouldn't it?
@vivialice please could you give us a hand deciding on the best UX for this? If the user has enabled the Content frame
option in Storefront Powerpack, should we let deliberately-set "wide" content overflow the frame, or should content always be contained within the frame? Looking at the docs, I'm more inclined to say we shouldn't let it overflow... but what do you think?
Describe the bug
Powerpack has an option to set the content to be “framed”. Storefront has CSS for blocks set to Wide width. The Wide width blocks overflow outside of the framed content and the content is hidden.
Appears that this negative margin may need to be adjusted when a site is using the framed layout:
Isolating the problem (mark completed items with an [x]):
To Reproduce
Steps to reproduce the behavior:
Screenshots
Overflow issue:
Expected behavior
Content shouldn’t be hidden.
Browser Environment
WordPress Environment
WordPress.com site on Version 5.7.1, eCommerce plan