contentful / experience-builder

https://www.contentful.com/developers/docs/experiences/what-are-experiences/
MIT License
7 stars 1 forks source link

Full width components don't span their container #530

Open samiresua opened 7 months ago

samiresua commented 7 months ago

I'm struggling with some of my block custom components which are designed to fill their container. Are there any guides or advice around how to go about supporting this pattern?

These components appear to be restricted (width wise) due to the align/justify options of the ootb structural components. Are there plans to add stretch to the align/justify options?

elylucas commented 6 months ago

Hi @samiresua, thanks for filing this issue. We are looking into this limitation, particularly around the extra div container we currently add right now in editor mode. I'll ping you back here when we have a fix for it.

primeinteger commented 3 months ago

Hi @samiresua - are you still experiencing any issues with this? We have made a lot of changes recently to eliminate extra wrapping divs around elements, so this problem may have been resolved. Let us know if you're still having an issue.

gcampes commented 1 month ago

@elylucas and @primeinteger I still get this issue where the editing app displays components not full width