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)

$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
3CGroup
View Replies:
jb1 replied on at Permalink Reply
jb1
Hi

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

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.