ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Popup ignoring Width Problem
Title:
B
I
{code}
?
I'm using a popup and can't manager to set it's initial width and it's not centered on the screen. Originally some of the modal content came from Prodinner, if that helps to isolate the problem. with `.Fullscreen(false)` or without `.Width(400)` doesn't change behavior; it seems that <div class="o-pmc o-pu" tabindex="-1" data-i="ChangePictureWishItem" style="overflow-y: auto; z-index: 1; left: 57.58px; top: 5px; max-width: 887px; min-width: 772.951px; position: fixed;"> is determining the behavior but can't find where or by what that's being set.
Save Changes
Cancel
Stephan Luis
asked at 19 Nov 2018
Answers
B
I
{code}
?
the awesome popup will expand up to the browser window's size if the content's width is bigger than the popup you can put the content of the popup inside a div and set a width to that div you can also try setting `.MaxWidth(700)`
Save Changes
Cancel
Omu
answered at 20 Nov 2018
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK