From 2c9d61a11a877930bc0347c9cf41df6d59769647 Mon Sep 17 00:00:00 2001 From: shy Date: Thu, 7 Mar 2024 10:39:39 +0800 Subject: [PATCH] add some --- frame.js | 6 +++--- index.css | 2 +- plugin/local/team/plan.css | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frame.js b/frame.js index 44ad566a..763aff92 100644 --- a/frame.js +++ b/frame.js @@ -515,9 +515,9 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) { restart: "bi bi-bootstrap-reboot", access: "bi bi-file-lock", }, function(name, icon) { var text = value[name] - if (name == nfs.VERSION) { text = value.version.split("-").slice(0, 2).join("-") } - if (name == mdb.TIME) { text = can.base.TimeTrim(value[name]) } - return value[name] && {view: [[html.ITEM, name]], list: [{icon: icon}, {text: text}]} + if (name == nfs.VERSION && text) { text = text.split("-").slice(0, 2).join("-") } + if (name == mdb.TIME && text) { text = can.base.TimeTrim(text) } + return text && {view: [[html.ITEM, name]], list: [{icon: icon}, {text: text}]} })} }, table: function(can, msg, cb, target, keys) { if (!msg || msg.Length() == 0) { return } var meta = can.base.Obj(msg.Option(mdb.META)) diff --git a/index.css b/index.css index dafc058e..a1bcb5aa 100644 --- a/index.css +++ b/index.css @@ -52,7 +52,7 @@ body { --table-padding:var(--button-padding); --header-height:48px; --footer-height:var(--action-height); --action-height:32px; --status-height:var(--action-height); --textarea-height:96px; - --river-width:var(--project-width); --project-width:230px; --input-width:140px; --button-width:60px; --form-width:320px; --url-input-width:480px; + --river-width:var(--project-width); --project-width:230px; --input-width:140px; --button-width:60px; --form-width:360px; --url-input-width:480px; --card-width:320px; --card-height:160px; --qrcode-width:360px; --qrcode-height:364px; --story-height:480px; --iframe-height:420px; --float-height:var(--story-height); --float-width:1200px; diff --git a/plugin/local/team/plan.css b/plugin/local/team/plan.css index 20c1e450..72f16766 100644 --- a/plugin/local/team/plan.css +++ b/plugin/local/team/plan.css @@ -17,4 +17,5 @@ fieldset.plan>div.output>div.layout>div.layout>div.content>table.content tr:firs fieldset.plan>div.output>div.layout>div.layout>div.content>table.content thead tr:first-child { z-index:2; } fieldset.plan>div.output>div.layout>div.layout>div.content>table.content th:first-child { width:40px; position:sticky; left:2px; } fieldset.plan>div.output>div.layout>div.layout>div.profile>table.content tr:first-child { height:30px; position:sticky; top:2px; } +fieldset.plan>div.output>fieldset.plug { position:absolute; } fieldset.plan.story>form.option>div.item.scale { display:none; }