dsh-remote-panel 0.4.2 → 0.4.3

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.
Files changed (2) hide show
  1. package/lib/client.js +6 -2
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -1159,8 +1159,12 @@ window.__ModuleLoader__.load({
1159
1159
  .dsh-mobile-clear-workspace[data-none="true"] { display: none !important; }
1160
1160
  /* 抽屉/遮罩打开时顶栏按钮让位 */
1161
1161
  html.dsh-drawer-open .dsh-mobile-newchat { display: none !important; }
1162
- /* 「+」是固定定位 + 内联 top:6px,顶栏被安全区顶下去后它会错位,这里拉回同一基线 */
1163
- .dsh-mobile-newchat { top: calc(6px + var(--dsh-safe-top, 0px)) !important; }
1162
+ /* 「+」是固定定位 + 内联 top:6px;顶栏的 padding-top 是 12 + 安全区,
1163
+ 这里用同一个 12 才能和标题/汉堡垂直居中对齐(改 6 会高出 6px) */
1164
+ .dsh-mobile-newchat {
1165
+ top: calc(12px + var(--dsh-safe-top, 0px)) !important;
1166
+ height: 40px !important;
1167
+ }
1164
1168
 
1165
1169
  /* 空态:鱼标按原型放大并竖排到标题上方;标题 22/650,收掉「预览版」角标 */
1166
1170
  .pXSMma_headline { flex-direction: column !important; align-items: center !important; gap: 14px !important; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-remote-panel",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "DSH 远程访问控制面:部署向导、状态面板与一键配对(EasyTier + Caddy),数据面保持进程外。",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",