1
0
mirror of https://shylinux.com/x/volcanos synced 2025-07-01 12:04:43 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-06-13 09:18:14 +08:00
parent f791f747f9
commit 2c4462b4c2
2 changed files with 1 additions and 4 deletions

View File

@ -1064,7 +1064,7 @@ Volcanos(chat.ONLAYOUT, {
can.page.styleHeight(can, target, height), can.page.styleWidth(can, target, width)
}); return height+margin
},
background: function(can, url, target) { can.page.style(can, target||can._root._target, "background-image", url == "" || url == "void"? "": 'url("'+url+'")') },
background: function(can, url, target) { can.page.style(can, target||can._root._target, "background-image", url == "" || url == "void"? "": url) },
figure: function(event, can, target, right, min, cb) { if (!event || !event.target) { return {} } target = target||can._fields||can._target
var rect = event.target == document.body? {left: can.page.width()/2, top: can.page.height()/2, right: can.page.width()/2, bottom: can.page.height()/2}: (event.currentTarget||event.target).getBoundingClientRect()
var layout = right? {left: rect.right, top: rect.top}: {left: rect.left, top: rect.bottom}

View File

@ -446,9 +446,6 @@ body div.input.float input[name=cancel]:hover { background-color:var(--danger-bg
body div.input.float div.action {
padding:var(--table-padding); width:100%; position:sticky; bottom:0; flex-direction:row-reverse; cursor:move;
}
body.mobile {
display:flex;
}
fieldset.input.key>div.action {
display:none !important;
}