1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 05:02:02 +02:00

Partial fix for modal window size

This commit is contained in:
Cameron 2013-03-13 03:25:38 -07:00
parent b864c192e1
commit ea6ef5d648
4 changed files with 7 additions and 4 deletions

View File

@ -496,7 +496,7 @@ if ($e107_popup != 1)
}
else
{
e107::css("inline","body { padding:10px } "); // default padding for iFrame-only.
e107::css("inline","body { padding:0px } "); // default padding for iFrame-only.
}
e107::getDb()->db_Mark_Time('(End: Parse Admin Header)');

View File

@ -13,7 +13,7 @@
ed.windowManager.open({
file : url + '/dialog.php',
width : 900 , // + parseInt(ed.getLang('e107bbcode.delta_width', 0)),
height : 400, // + parseInt(ed.getLang('e107bbcode.delta_height', 0)),
height : 450, // + parseInt(ed.getLang('e107bbcode.delta_height', 0)),
inline : 1
}, {
plugin_url : url, // Plugin absolute URL

View File

@ -26,7 +26,7 @@
getInfo : function() {
return {
longname : 'jQuery UI Inline Popups',
author : 'Richard Willis',
author : 'Richard Willis. Modified by e107 Inc.',
authorurl : 'http://badsyntax.co',
infourl : 'http://is.gd/j1FuI',
version : '0.1b'
@ -131,8 +131,10 @@
var wdt = f.width + 'px';
$('#uiModal .modal-caption').text(f.title);
// $('#uiModal').css('height',f.height + "px");
var windowHeight = $(window).height() - 50;
$('#uiModal').width(wdt);
$('#uiModal').css('min-width','800px');
$('#uiModal').css('max-height', $(window).height());
$('#uiModal .modal-body').html("<iframe src='" + src + "' width='100%' height='" + (f.height + 60) + "px' frameborder='0'></iframe>");
$('#uiModal .modal-footer').text('');

View File

@ -86,8 +86,9 @@ a.brand:hover img {
.modal { min-width:800px; left:38%; z-index:10001}
.modal-header { border-radius: 6px 6px 6px 6px; border-bottom:1px solid #DDDDDD; padding-left:20px; background-image: -moz-linear-gradient(center top , rgb(253, 253, 253) 0%, rgb(234, 234, 234) 100%); }
.modal-body { max-height:800px }
.modal-body { max-height:500px; padding:10px }
#media-select-container { min-height:378px }
.modal.fade.in { top: 5%; }
@media (min-width: 1500px) {