From fe8c3fb5e2504c91e0f367db4d404e0831270e0b Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 25 Dec 2023 10:28:25 +0800 Subject: [PATCH] opt some --- index.css | 2 +- panel/header.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.css b/index.css index c0233193..85b4c0b5 100644 --- a/index.css +++ b/index.css @@ -556,7 +556,7 @@ fieldset.inner>div.output>div.project div.item.modify { background-color:#008000 fieldset.vimer>div.output>div.project div.item.modify { background-color:#00800036; } fieldset.vimer>div.output>div.project>div.zone.space div.item.stop { color:var(--disable-fg-color); } fieldset.xterm>div.action>div.tabs:only-child { display:none; } -fieldset.xterm.story>form.option>div.item.hash input { width:400px; } +fieldset.xterm.story>form.option>div.item.hash input { width:320px; } fieldset.xterm>div.layout { clear:both; } fieldset.xterm div.layout div.output { border-left:var(--box-border); border-top:var(--box-border); } fieldset.xterm div.layout div.output.select { border:var(--box-border)} diff --git a/panel/header.js b/panel/header.js index 7b1a8262..b62c0456 100644 --- a/panel/header.js +++ b/panel/header.js @@ -1,7 +1,7 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg, target) { can.onimport._title(can, msg, target), can.onimport._state(can, msg, target), can.onimport._avatar(can, msg, target), can.onimport._background(can, msg, target), can.onimport._search(can, msg, target) }, - _title: function(can, msg, target) { can.core.List(can.base.getValid(can.Conf(chat.TITLE)||msg.result, [location.host]), function(item) { + _title: function(can, msg, target) { can.core.List(can.base.getValid(can.Conf(chat.TITLE)||msg.result, [can.misc.Search(can, ice.POD)||location.host]), function(item) { can.page.Append(can, target, [{view: [[html.ITEM, chat.TITLE, html.FLEX]], list: [{img: can.misc.ResourceFavicon(can)}, {text: item}], title: "返回主页", onclick: function(event) { can.onaction.title(event, can) }}]) }) }, _state: function(can, msg, target) { can.core.List(can.base.Obj(can.Conf(chat.STATE)||msg.Option(chat.STATE), [chat.THEME, aaa.LANGUAGE, aaa.USERNICK, aaa.AVATAR, mdb.TIME]).reverse(), function(item) {