mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
add some
This commit is contained in:
parent
3e64f738f0
commit
b0f1c06420
@ -45,9 +45,7 @@ Volcanos(chat.ONACTION, {list: [mdb.CREATE, web.SHARE, web.REFRESH], _init: func
|
||||
share: function(event, can) { can.core.CallFunc(can.ondetail.share, {event: event, can: can}) },
|
||||
onsize: function(can, height) { var margin = 68, _margin = margin
|
||||
can.page.style(can, can._output, html.MARGIN, "0px", html.HEIGHT, "", html.MAX_HEIGHT, "")
|
||||
if (can.user.isMobile || !can.user.isTechOrRoot(can)) {
|
||||
margin = 0
|
||||
}
|
||||
if (can.user.isMobile || !can.user.isTechOrRoot(can)) { margin = 0 }
|
||||
if (can._output.offsetHeight < height-margin) {
|
||||
margin += (height-margin-can._output.offsetHeight)/2
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user