1700563146/dsh-plugin-rightbar-divider
Puts the right-sidebar drag handle back on the divider at non-100% browser zoom, with a wider hit area and a visible drag line.
DSH's right sidebar already has a drag handle, and at 100% zoom this plugin is just a wider hit area with a hover affordance. The case it exists for is whole-interface zoom: AppFrame positions the left handle in layout pixels but the right handle from the visual viewport width, so at zoom 1.2 the handle renders about 320 px inside the panel instead of on the divider and dragging stops working. The fix measures the panel's real left edge with offsetLeft — layout pixels, unaffected by zoom or slide transforms — and moves the host handle back onto it through a CSS variable, widens the hit area from 8 px to 12 px and draws a 2 px hover and drag line. The README also documents the one-line upstream fix, which is the honest framing: this is a workaround for a specific arithmetic mismatch.
Install
dsh plugin --profile desktop add dsh-plugin-rightbar-dividerThe README gives this npm form and also the in-app path: open Plugins → Add plugin and install dsh-plugin-rightbar-divider. Verify by opening the right sidebar and hovering the divider between chat and sidebar — the cursor becomes col-resize and a thin line appears. It uses the desktop profile in the verified install line; the web profile uses the same package name with --profile web.
Compatibility
Depends on private host attributes ([data-side=rightbar], [data-rightbar-col], [data-sidebar-right-open]) — if a future DSH renames them the plugin quietly deactivates instead of breaking the layout. Width limits, persistence and drag behaviour are still the host's setRightbar. Under zoom the host still changes width from visual pointer deltas, so dragging stays slightly faster than the cursor (at 120% it moves 120 px per 100 px of movement); the plugin does not take that over.
Details
- Repo: 1700563146/dsh-plugin-rightbar-divider
- Category: Web UI Enhancements
- Stars: 0
- Version: 0.1.0 (npm)
Alternatives
ZG2017/dsh-plugin-image-picker · allen546/dsh-plugin-genshin-startup · kun2-5code/dsh-plugin-installer