From 6276ab803a1fe96d389e80f2fd436e724cc53ed9 Mon Sep 17 00:00:00 2001 From: shy Date: Sat, 6 Apr 2024 15:05:24 +0800 Subject: [PATCH] add some --- frame.js | 2 +- index.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frame.js b/frame.js index c4af253f..a7abfb7b 100644 --- a/frame.js +++ b/frame.js @@ -390,7 +390,7 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) { field: function(can, type, item, target) { type = type||html.STORY, item = item||{} var name = can.core.Split(item.nick||item.index||"", " .").pop()||""; can.base.isIn(name, - tcp.SERVER, tcp.CLIENT, web.STUDIO, mdb.SEARCH, web.SERVICE, "instance", + tcp.SERVER, tcp.CLIENT, web.STUDIO, mdb.SEARCH, web.SERVICE, can.core.Split(can.ConfIndex(), ".").pop(), "launchTemplate", ) && (name = (item.index||"").split(".").slice(-2).join(".")), (type != html.PLUG && !can.base.isIn(can.ConfIndex(), web.DESKTOP, web.MESSAGE, web.VIMER, )) && (name = can.core.Keys(item.space||item._space, name)) diff --git a/index.css b/index.css index 6155e906..bc2332f0 100644 --- a/index.css +++ b/index.css @@ -205,7 +205,7 @@ div.toggle.project { top:20%; left:0; border-top-right-radius:var(--plugin-radiu div.content>div.toggle.profile { top:20%; right:0; border-top-left-radius:var(--plugin-radius); border-bottom-left-radius:var(--plugin-radius); } div.content>div.toggle.display { left:20%; bottom:-52px; rotate:90deg; border-top-left-radius:var(--plugin-radius); border-bottom-left-radius:var(--plugin-radius); } div.project:not(.toggle) { width:var(--project-width); flex:0 0 var(--project-width); } -div.profile:not(.toggle) { width:50%; flex:0 0 50%; } +div.layout>div.profile:not(.toggle) { width:50%; flex:0 0 50%; } /* fieldset */ div.item.online.state { margin-left:var(--button-margin) !important; display:block; } body.mobile div.item.online.state { display:none; }