mirror of
https://shylinux.com/x/volcanos
synced 2025-04-27 09:38:28 +08:00
opt some
This commit is contained in:
parent
d16da3deff
commit
dbe7d41949
2
frame.js
2
frame.js
@ -486,7 +486,7 @@ Volcanos("onlayout", {help: "页面布局", list: [], _init: function(can, targe
|
||||
}
|
||||
|
||||
if (left+target.offsetWidth>window.innerWidth) { left = window.innerWidth - target.offsetWidth }
|
||||
if (top+target.offsetHeight>window.innerHeight) { top = window.innerHeight - target.offsetHeight }
|
||||
if (top+target.offsetHeight>window.innerHeight-100) { top = window.innerHeight - target.offsetHeight - 100 }
|
||||
|
||||
var layout = {left: left, top: top}
|
||||
can.page.Modify(can, target, {style: layout})
|
||||
|
@ -101,6 +101,9 @@ input[name=cmd] {
|
||||
input[name=date] {
|
||||
width:150px;
|
||||
}
|
||||
input[name=text] {
|
||||
width:160px;
|
||||
}
|
||||
input[type=text] {
|
||||
box-shadow: 4px 4px 10px 1px #626bd0;
|
||||
background-color:cyan; color:black;
|
||||
|
Loading…
x
Reference in New Issue
Block a user