diff --git a/page/index.css b/page/index.css index c55103bf..a3bf75e5 100644 --- a/page/index.css +++ b/page/index.css @@ -57,6 +57,7 @@ fieldset.float { background-color:#0e3369; color:white; padding:0; margin:0; } fieldset.full { background-color:#0e3369; color:white; padding:0; margin:0; left:0; top:0; overflow:auto; } fieldset.Action>div.output>fieldset.plugin:not(.float):not(.full)>legend { float:none; } +fieldset.Action.cmd>div.output>fieldset.plugin:not(.float):not(.full)>legend { float:left; } fieldset.Action>div.output>fieldset.plugin>legend { box-shadow:4px 4px 20px 4px #626bd0; } fieldset>form.option input[type=button][name=close]{ display:none; } diff --git a/plugin/local/code/inner.js b/plugin/local/code/inner.js index 1157245d..22277020 100644 --- a/plugin/local/code/inner.js +++ b/plugin/local/code/inner.js @@ -427,6 +427,7 @@ Volcanos(chat.ONIMPORT, {help: "导入数据", _init: function(can, msg, cb, tar can.page.styleWidth(can, can.ui.display_output, width-project_width) var height = can.user.isMobile && can.isFloatMode()? can.page.height()-2*html.ACTION_HEIGHT: can.base.Min(can.ConfHeight(), 320)-1 + can.user.isMobile && can.isCmdMode() && can.page.style(can, can._output, html.MAX_HEIGHT, height) var display_height = can.ui.display.style.display == html.NONE? 0: (can.display_size[can.onexport.keys(can)]||height/2-html.ACTION_HEIGHT) var content_height = height-display_height; if (can.isCmdMode()) { content_height -= can.ui._tabs.offsetHeight + can.ui._path.offsetHeight + 4 } var profile_height = height-html.ACTION_HEIGHT-display_height