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

Announcements

No record found.

News and Announcements icon
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!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 93 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 67

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans