|
|
|
@ -201,8 +201,8 @@
|
|
|
|
|
|
|
|
|
|
//加载预览样式
|
|
|
|
|
function load_preview_css() {
|
|
|
|
|
$("iframe.ke-edit-iframe").contents().find("head").append('<?php echo $this->config->item("css_source_" . $this->config->item("site_code")); ?><style>.drop1{height:auto !important;} .photoRight img{max-width:100%;height:auto !important;}</style>');
|
|
|
|
|
$("iframe.ke-edit-iframe").contents().find(".ke-content").css({"max-width": "1024px", "margin-left": "auto", "margin-right": "auto"});
|
|
|
|
|
// $("iframe.ke-edit-iframe").contents().find("head").append('<?php // echo $this->config->item("css_source_" . $this->config->item("site_code")); ?><style>.drop1{height:auto !important;} .photoRight img{max-width:100%;height:auto !important;}</style>');
|
|
|
|
|
// $("iframe.ke-edit-iframe").contents().find(".ke-content").css({"max-width": "1024px", "margin-left": "auto", "margin-right": "auto"});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|