mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 01:04:06 +08:00
add some
This commit is contained in:
parent
154f8d6006
commit
91adc0293c
@ -690,6 +690,8 @@ fieldset.plug>div.output table.content { width:100%; }
|
|||||||
fieldset.plug.dream.zone>div.output>div.item { display:flex; padding:var(--input-padding); margin:var(--input-margin); }
|
fieldset.plug.dream.zone>div.output>div.item { display:flex; padding:var(--input-padding); margin:var(--input-margin); }
|
||||||
fieldset.plug.dream.zone>div.output>div.item>img { margin-right:var(--input-margin); }
|
fieldset.plug.dream.zone>div.output>div.item>img { margin-right:var(--input-margin); }
|
||||||
fieldset.plug.dream.zone>div.output>div.item>span { line-height:var(--action-height); }
|
fieldset.plug.dream.zone>div.output>div.item>span { line-height:var(--action-height); }
|
||||||
|
body.en span[lang^=zh] { display:none; }
|
||||||
|
body.zh span[lang^=en] { display:none; }
|
||||||
body>div.carte.header.avatar img { width:370px; }
|
body>div.carte.header.avatar img { width:370px; }
|
||||||
body>fieldset.story.web.chat.wx.agent { position:fixed; left:0; bottom:0; }
|
body>fieldset.story.web.chat.wx.agent { position:fixed; left:0; bottom:0; }
|
||||||
body.zh fieldset.inner>div.output>div.project>div.zone>div.item { letter-spacing:10px; border-top:var(--box-border); }
|
body.zh fieldset.inner>div.output>div.project>div.zone>div.item { letter-spacing:10px; border-top:var(--box-border); }
|
||||||
|
@ -15,7 +15,7 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
msg.Table(function(item) { can.onappend._plugin(can, item, {_space: can.ConfSpace(), index: item.index, args: can.base.Obj(item.args||item.arg, []), height: height, width: width}, function(sub) {
|
msg.Table(function(item) { can.onappend._plugin(can, item, {_space: can.ConfSpace(), index: item.index, args: can.base.Obj(item.args||item.arg, []), height: height, width: width}, function(sub) {
|
||||||
if (can.base.isIn(sub.ConfIndex(),
|
if (can.base.isIn(sub.ConfIndex(),
|
||||||
web.WIKI_PORTAL, web.CHAT_IFRAME, web.CHAT_MACOS_DESKTOP, web.WIKI_WORD, web.CODE_VIMER,
|
web.WIKI_PORTAL, web.CHAT_IFRAME, web.CHAT_MACOS_DESKTOP, web.WIKI_WORD, web.CODE_VIMER,
|
||||||
)) { height = can.base.Max(can.base.Min(can.onexport.outputHeight(can), 640), can.ConfHeight()) }
|
)) { height = can.base.Max(can.base.Min(can.onexport.outputHeight(can), 640), can.ConfHeight()-2*html.ACTION_HEIGHT) }
|
||||||
can.onmotion.delay(can, function() { can.onmotion.scrollIntoView(can, sub._target) }, 300)
|
can.onmotion.delay(can, function() { can.onmotion.scrollIntoView(can, sub._target) }, 300)
|
||||||
sub.run = function(event, cmds, cb) { var index = msg.Option(ice.MSG_INDEX)
|
sub.run = function(event, cmds, cb) { var index = msg.Option(ice.MSG_INDEX)
|
||||||
can.run(event, (msg[ice.MSG_PREFIX]? msg[ice.MSG_PREFIX]: index? [ctx.RUN, index]: []).concat(cmds), cb, true)
|
can.run(event, (msg[ice.MSG_PREFIX]? msg[ice.MSG_PREFIX]: index? [ctx.RUN, index]: []).concat(cmds), cb, true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user