lan450/dsh-mobile-ui0

dsh-mobile-ui

用于 DSH Web 应用的移动端 UI 适配(v3.2):溢出限制、覆盖侧边栏/详情、底部弹窗选择器、对话框居中、安全区域处理、重叠自愈以及窄屏上的双行问题/计划审查卡片页脚。

AI 分析

核心用途是优化 DSH Web 在手机等窄屏设备上的操作体验。适合经常在移动端浏览器或窄屏窗口下使用 DSH 的用户,可自动调整布局避免遮挡。

包名
dsh-mobile-ui
版本
0.3.2
许可证
MIT
最近更新
2026年8月19日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

Usage

Open the Web UI on your phone (the plugin also works in a desktop browser narrower than 820px). Everything is applied automatically; desktop layouts are untouched. For plan review / question cards, the footer uses two rows so the action buttons are always fully visible.

Diagnostics

In the browser console:

window.__dshMobileUi.status   // per-block state: ok / miss / run / off
window.__dshMobileUi.notes    // why a block missed (stylesheet not ready / entries mismatch)

A derived block that misses its class names falls back to structural selectors (usable on phones) or renders no CSS (e.g. modelSheet/popupSheet), and notes explains why.