mirror of
https://shylinux.com/x/volcanos
synced 2025-07-01 12:04:43 +08:00
add some
This commit is contained in:
parent
f791f747f9
commit
2c4462b4c2
2
frame.js
2
frame.js
@ -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}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user