Skip to main content
在 Manus 中运行任何 Skill
一键导入
$pwd:

chat-layout-width-detection

// 当修复 ai-shifu 聊天页在移动端与桌面端布局判定不一致的问题时使用本技能。基于真实可见视口宽度而不是仅 `#root.clientWidth` 计算 `frameLayout`,在 `resize` 与 `visualViewport.resize` 时同步,并在断点纠正后关闭过期的移动端抽屉状态。

$ git log --oneline --stat
stars:290
forks:107
updated:2026年5月27日 02:10
SKILL.md
readonly