1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-02-13 22:10:23 +08:00
parent 2ba61c67a6
commit b62f94974e
2 changed files with 2 additions and 2 deletions

View File

@ -801,7 +801,7 @@ Volcanos(chat.ONLAYOUT, {_init: function(can, target) { target = target||can._ro
return layout
},
_float: function(can) { var target = can._fields||can._target, sup = can._fields? can.sup: can
var height = can.base.Max(html.FLOAT_HEIGHT, can.page.height()-can.getHeaderHeight()-html.ACTION_HEIGHT), width = can.base.Max(html.FLOAT_WIDTH, can.page.width()-can.getRiverWidth())
var height = can.base.Max(html.FLOAT_HEIGHT, can.page.height()-can.getHeaderHeight()-html.ACTION_HEIGHT), width = can.base.Max(html.FLOAT_WIDTH, can.page.width()-can.getRiverWidth()-2*html.PLUGIN_MARGIN)
sup.onimport.size(sup, height, width, false), can.onappend.style(can, html.FLOAT)
can.onmotion.resize(can, target, function(height, width) { sup.onimport.size(sup, height, width, false) }, can.getHeaderHeight(), can.getRiverWidth())
var left = can.getRiverWidth()+html.PLUGIN_MARGIN+html.PLUGIN_PADDING+(can.user.mod.isCmd? 0: 120), top = can.page.height()/4; if (can.user.isMobile) { left = 0 }

View File

@ -57,7 +57,7 @@ body {
--qrcode-height:364px; --qrcode-width:360px; --iframe-height:420px; --textarea-height:96px;
--card-height:160px; --card-width:320px;
--story-height:var(--float-height); --float-height:480px; --float-width:1200px;
--plug-height:var(--float-height); --plug-width:var(--float-width);
--plug-height:480px; --plug-width:var(--float-width);
--desktop-height:684px; --desktop-width:var(--float-width); --desktop-icon-size:80px;
--action-button:10; --table-button:5; --river-margin:80px; --action-margin:200px;
--card-button:5;