chore: hide debug overlays, prepare for production

This commit is contained in:
2026-06-25 20:29:54 +08:00
parent 9a14a75b42
commit bba368b98c
2 changed files with 34 additions and 10 deletions

View File

@@ -9,8 +9,8 @@ export function MobileLayout() {
return (
<div className="max-w-md mx-auto min-h-dvh relative bg-morandi-50 shadow-[0_0_40px_rgba(0,0,0,0.06)]">
{/* 全局调试浮层:所有页面下可见 */}
{debugInfo.length > 0 && (
{/* 调试浮层(已隐藏,保留代码以备后续调试) */}
{false && debugInfo.length > 0 && (
<div
className="absolute top-0 left-0 right-0 z-50 bg-black/80 text-green-400 text-xs p-3 overflow-auto max-h-[50%] cursor-pointer font-mono"
style={{ whiteSpace: 'pre-wrap', wordBreak: 'break-all', lineHeight: 1.5 }}