# dsh-settings-size > **Give the DSH settings dialog a size you actually like.** > A **设置弹框尺寸** row for the DeepSeek Harness (`dsh`) Web GUI — one-click presets, live width/height sliders, remembered locally. [中文](README.md) · [Changelog](CHANGELOG.md) · DSH plugin · MIT [![dsh.so risk](https://www.dsh.so/badge/dsh-settings-size.svg)](https://www.dsh.so/artifact/dsh-settings-size/) [![dsh.so install · dsh 0.1.7-rc.2](https://www.dsh.so/badge/install/dsh-settings-size@0.1.7-rc.2.svg)](https://www.dsh.so/artifact/dsh-settings-size/) [![Listed on dsh-plugin.org](https://dsh-plugin.org/badges/listed.svg)](https://dsh-plugin.org/plugins/alexzshl/dsh-settings-size) --- ## What it is The DSH settings dialog is hardcoded to **800×800**, which feels cramped on a wide screen: after the 188px nav rail takes its share, the content column is left with roughly 612px. The size is not routed through any `--dsw-*` design token, so neither a theme nor the built-in appearance settings can reach it. `dsh-settings-size` adds one row to **Settings → General** (right below 字体大小) with four presets and a pair of width/height sliders. Changes apply **live** — the dialog resizes while it is open — and the choice is written to `localStorage`, so it survives reloads. - Shape: dual-face plugin (no-op host half + browser bundle) - Applies to: the DSH Web GUI - Persistence: `localStorage`, key `dsh-settings-size:size` - No build step: `lib/*.js` is the shipped artifact ![The dialog size row: presets and the width/height sliders](docs/screenshot-en.png) --- ## Install Add this repository to the `web` profile: ```sh dsh plugin --profile web add -w ``` `-w` is required: every profile directory ships a `pnpm-workspace.yaml`, so pnpm treats the profile as a workspace root and a bare `add` fails with `ERR_PNPM_ADDING_TO_ROOT`. The command links this package and appends `dsh-settings-size` to `dsh.profile.bundles`. A running web server has to be **restarted** to load the new bundle layer: ```sh # stop the current instance, then dsh web ``` After the restart, open **Settings → General** — the **设置弹框尺寸** row should be right below 字体大小.
Manual install (equivalent) Edit `~/.dsh/profiles/web/package.json`: ```jsonc { "dependencies": { "dsh-settings-size": "link:" }, "dsh": { "profile": { "bundles": [ /* …existing entries…, */ "dsh-settings-size" ] } } } ``` Then run `pnpm install` inside `~/.dsh/profiles/web` and restart `dsh web`.
--- ## Uninstall ```sh dsh plugin --profile web remove -w dsh-settings-size ``` Then restart `dsh web`. The plugin's `