Current. In embed mode the survey surface renders at a fixed, compact width and stays left-aligned, regardless of the width of its mount container. Consumers can make it narrower via their own container, but there is no way to have it fill the available width.
Proposed. By default, render the survey surface at width: 100% of its container and center the content within it. The widget then adapts to the host layout out of the box; anyone who wants it narrower can constrain it via their own container (already possible today), whereas currently there is no way to widen it.
Acceptance. By default the survey fills its container's width with content centered; a compact/narrow layout is still achievable by constraining the surrounding container.
Current. In embed mode the survey surface renders at a fixed, compact width and stays left-aligned, regardless of the width of its mount container. Consumers can make it narrower via their own container, but there is no way to have it fill the available width.
Proposed. By default, render the survey surface at
width: 100%of its container and center the content within it. The widget then adapts to the host layout out of the box; anyone who wants it narrower can constrain it via their own container (already possible today), whereas currently there is no way to widen it.Acceptance. By default the survey fills its container's width with content centered; a compact/narrow layout is still achievable by constraining the surrounding container.