From b794aed18e78fabc7c237a3528d694b3d621ed26 Mon Sep 17 00:00:00 2001 From: HomeDash Bot Date: Sat, 12 Sep 2026 08:37:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(workspace):=20=E5=8E=BB=E6=8E=89=E5=86=85?= =?UTF-8?q?=E5=B5=8C=E5=BA=94=E7=94=A8=E5=8C=BA=E7=9A=84=E9=BB=91=E6=96=B9?= =?UTF-8?q?=E5=9D=97=EF=BC=88=E6=94=B9=E9=80=8F=E6=98=8E=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 用户反馈工作空间深色下有黑色方块。实测:亮色时代该区域是 #fff,我在 v44 把它改成 #0f172a,于是打开应用时那块区域变成一整块不透明黑。 修法:内嵌区与 iframe 一律透明(露出壁纸/玻璃底),应用自身背景照常显示, 空态也不再出现突兀方块。深/浅两种模式行为一致。 --- web/navi.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/navi.css b/web/navi.css index c10e063..da63e29 100644 --- a/web/navi.css +++ b/web/navi.css @@ -1762,10 +1762,14 @@ html.navi-dark body nav.side-bar .side-bar-item .item-icon i { color: #cbd5e1 !important; fill: currentColor !important; } -/* 内嵌应用的外框与占位:白底会在深色下形成刺眼的白框 */ +/* 内嵌应用的外框与占位:这里绝不能给不透明底色。 + 亮色时代它是 #fff(深色下白框),我上一版改成 #0f172a 后又变成一整块黑方块 + (用户反馈的"工作空间黑色方块")。正确做法是透明:露出壁纸/玻璃底, + 应用自己会画背景;空态时也不会出现突兀的方块。 */ html.navi-dark body .work-space .web-content, html.navi-dark body .work-space .web-content iframe { - background-color: #0f172a !important; + background-color: transparent !important; + background-image: none !important; } html.navi-dark body .work-space .navi-ws-notice, html.navi-dark body .navi-ws-toolbar {