dsh-remote-panel 0.4.1 → 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 +9 -4
  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; }
@@ -1214,9 +1218,10 @@ window.__ModuleLoader__.load({
1214
1218
  background: #000 !important;
1215
1219
  }
1216
1220
 
1217
- /* 会话里的输入条座位:底部要让开手势条(WebView 里 env() 常为 0,由壳注入) */
1221
+ /* 会话里的输入条座位:像浮岛一样离底边留一段,同时让开手势条
1222
+ (WebView 里 env() 常为 0,安全区由壳注入 --dsh-safe-bottom) */
1218
1223
  .wSkVaW_composerSeat {
1219
- padding-bottom: max(env(safe-area-inset-bottom, 0px), var(--dsh-safe-bottom, 0px)) !important;
1224
+ padding-bottom: calc(12px + max(env(safe-area-inset-bottom, 0px), var(--dsh-safe-bottom, 0px))) !important;
1220
1225
  }
1221
1226
 
1222
1227
  .wSkVaW_composerHero .uV2eYG_root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-remote-panel",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "DSH 远程访问控制面:部署向导、状态面板与一键配对(EasyTier + Caddy),数据面保持进程外。",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",