fix: view-level webview scale, close menu on outside tap/page switch
This commit is contained in:
@@ -36,6 +36,9 @@ const router = {
|
||||
// 移除 webapp-active:webapp 已丢后台,恢复 webapp 列表显示
|
||||
// Remove webapp-active: the webapp is backgrounded, restore the list display
|
||||
document.body.classList.remove('webapp-active');
|
||||
// 关闭长按菜单(切页时)
|
||||
// Close the long-press menu on page switch
|
||||
document.querySelectorAll('.wapp-menu').forEach((m) => m.remove());
|
||||
// 非首页时侧边栏顶部显示小时间(容器始终占位,仅切换可见性避免撑动图标)
|
||||
// Show the small clock at the sidebar top when not on home (the container
|
||||
// always occupies space; only toggle visibility to avoid shifting icons)
|
||||
|
||||
Reference in New Issue
Block a user