web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Inquiry on Achieving Full Width and Width Constraints after Reaching Specific Size

(1) ShareShare
ReportReport
Posted on by 5
Hi!
 
I am using the CustomerVoice form on our website, but it doesn't fit properly on larger screens. It seems to be optimized only for smaller screens.
I'm encountering an issue where an element does not expand beyond a certain width, even when there’s additional space available.
Here’s the relevant part of image and my code:
 
 
 
<div className="mx-auto">
  <div
    id="surveyDiv"
    style={{
      height: "70vh",
      width: "100%",  // This is supposed to be responsive
      maxWidth: "800px", // However, it stops expanding after reaching 800px
      marginLeft: "auto",
      marginRight: "auto",
    }}
  >
    {/* Survey will render here */}
  </div>
</div>

 

In this setup, the #surveyDiv does not grow wider than 800px, even though width is set to 100%. I expect it to expand beyond that, but it remains constrained.

Thank you for your assistance!

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans