Problems with simple content
Permalink Browser Info Environment
When the simple content option is used, the pop up ignores the height given in the dialog box. The pop-up will fill the screen from top to bottom. I looked into the code and found this element (line 109 in view.php)
The solution I found is to replace the height:100% with height:auto. The pop-up will resize in height to the content.
$div = '<div id="directcontent-'.$bID.'" style="display:none"> <div style="clear:both;height:100%;padding:5px">'.$directcontent.'</div> </div>'; break;
The solution I found is to replace the height:100% with height:auto. The pop-up will resize in height to the content.
Type: | Discussion |
---|---|
Status: | New |
Thanks for the tip. But I tried this one it seems I couldn't replicate it. However, I've updated and improved the height calculation on the latest version 1.6.5.4. If you could upgrade to that version that should fix the auto height. However, do take note that it will overwrite any custom changes you've made. I highly recommend that you back up the current changes you've made.
Again thanks for the tip.
Cheers,
JZ