From 023ec3ede7e130912dfe712a57f1f2edd43a0784 Mon Sep 17 00:00:00 2001 From: shylinux Date: Wed, 24 Aug 2022 07:59:59 +0800 Subject: [PATCH] opt some --- frame.js | 3 +++ plugin/local/wiki/word.css | 1 + 2 files changed, 4 insertions(+) diff --git a/frame.js b/frame.js index 9c2b441f..6951da22 100644 --- a/frame.js +++ b/frame.js @@ -301,6 +301,9 @@ Volcanos(chat.ONAPPEND, {help: "渲染引擎", _init: function(can, meta, list, field: function(can, type, item, target) { type = type||html.PLUGIN, item = item||{} var name = (item.nick||item.name||"").split(ice.SP)[0] var title = !item.help || can.user.language(can) == "en"? name: name+"("+item.help.split(ice.SP)[0]+")" + if (name == "word") { + title = item.help.split(ice.SP)[0] + } return can.page.Append(can, target||can._output, [{view: [can.base.join([type||"", item.name||"", item.pos||""]), html.FIELDSET], list: [ name && {text: [title, html.LEGEND]}, {view: [html.OPTION, html.FORM]}, {view: [html.ACTION]}, {view: [html.OUTPUT]}, {view: [html.STATUS]}, ]}]) diff --git a/plugin/local/wiki/word.css b/plugin/local/wiki/word.css index 92d1c458..d138a1e6 100644 --- a/plugin/local/wiki/word.css +++ b/plugin/local/wiki/word.css @@ -1,4 +1,5 @@ fieldset.word form.option input[name=path] { width:127px; } +fieldset.word>form.option>div.item>input[name=path] { width:320px; } fieldset.word>div.navmenu { background-color:inherit; overflow:auto; min-width:120px; clear:both; float:left; } fieldset.word>div.navmenu div.list { margin-left:20px; }