Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

fix(ssh-ui): 机器编辑输入框改 border-box——修相邻列重叠

Menghuan191841e846daea72
diff --git a/packages/dsh-tauri-ssh-ui/src/client/styles/index.cssr.ts b/packages/dsh-tauri-ssh-ui/src/client/styles/index.cssr.ts
index ea5a68ed..7c88612d 100644
--- a/packages/dsh-tauri-ssh-ui/src/client/styles/index.cssr.ts
+++ b/packages/dsh-tauri-ssh-ui/src/client/styles/index.cssr.ts
@@ -339,8 +339,14 @@ export default c([
color: 'var(--dsw-alias-label-secondary)',
}),
- /* The Input primitive draws the box; the field makes it fill the grid cell. */
+ /*
+ * The Input primitive draws the box; the field makes it fill the grid cell.
+ * `border-box` is load-bearing: the primitive's `.wrap` is content-box, so a
+ * bare `width: 100%` would add its padding/border on top of the track width
+ * and bleed ~18px into the neighbouring column (adjacent inputs overlapped).
+ */
c('.dshp-ssh-field-input', {
+ boxSizing: 'border-box',
width: '100%',
}),