Closed (fixed)
Project:
Modal Frame API
Version:
6.x-1.7
Component:
User interface
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2012 at 21:33 UTC
Updated:
14 Oct 2012 at 16:25 UTC
When clicking link, the frame is HUGE...
How do I set it to autosize or autofit?
If not, then can I just specify height and width?
Thanks!!
Comments
Comment #1
JohnnyW commentedOkay, I did make it smaller... 300px x 300px... and have it scale the contents inside... I am only using it for Facebook-style Status (microblog), so it only needed to cater to it and not other content.
For quick control fix, I used CSS in modalframe.parent.css
.modalframe {
max-height:300px !important;
max-width: 330px !important;
}
Also, in Facebook_status.css
html.js body div.modalframe-page-wrapper div.modalframe-page-container div.modalframe-page-content div.clear-block form#facebook-status-edit div div.clear-block {
width: 300px;
height: 300px;
}
html.js body div.modalframe-page-wrapper div.modalframe-page-container div.modalframe-page-content div.clear-block {
width: 170px;
height: 300px;
}
NOTE: this doesn't center the box in the middle of the page - that is a separate issue.