@waterplus-ai/waterbuddy 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/index.js +6 -4
- package/package.json +1 -1
package/lib/client/index.js
CHANGED
|
@@ -1619,12 +1619,14 @@ window.__ModuleLoader__.load({
|
|
|
1619
1619
|
// 仍在用户机器上失败,说明我用的观测(本机会话)与桌面端真实 DOM 不一致,
|
|
1620
1620
|
// 再试只是继续拿用户的界面做实验。改底栏请改宿主的 ui-sidebar。
|
|
1621
1621
|
// 品牌区:展开态显示整张官方 logo,收起轨道保留方版水印;
|
|
1622
|
+
// 宿主类名是 `<hash>_<名字>`(如 nnLAcG_railMark),所以必须用子串匹配
|
|
1623
|
+
// `[class*=...]`;写成 `[class$=...]` 一条都不会生效。
|
|
1622
1624
|
// 品牌名槽位不再渲染文字,空壳用 :empty 收掉。
|
|
1623
|
-
'[class
|
|
1624
|
-
'[class
|
|
1625
|
-
'[class
|
|
1625
|
+
'[class*="railMark"] [data-wb-logo="full"]{display:none!important}',
|
|
1626
|
+
'[class*="brandMark"] [data-wb-logo="mark"]{display:none!important}',
|
|
1627
|
+
'[class*="brandName"]:empty{display:none!important}',
|
|
1626
1628
|
// 宿主的品牌行写死 height:24px,会把 32px 的整图夹在中间;放开它(外层 .logoRow 仍有 44px 上限)。
|
|
1627
|
-
'[class
|
|
1629
|
+
'[class*="brandIdentity"]{height:auto!important}',
|
|
1628
1630
|
].join('')
|
|
1629
1631
|
document.head.append(style)
|
|
1630
1632
|
return () => { style.remove() }
|