mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-03 05:59:43 +02:00
chore: bump version to 0.1518
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1468,6 +1468,9 @@ class ClaudemanApp {
|
||||
this.loadFontSize();
|
||||
this.applyHeaderVisibilitySettings();
|
||||
this.applyMonitorVisibility();
|
||||
// Remove mobile-init class now that JS has applied visibility settings.
|
||||
// The inline <script> in <head> added this to prevent flash-of-content on mobile.
|
||||
document.documentElement.classList.remove('mobile-init');
|
||||
this.connectSSE();
|
||||
this.loadState();
|
||||
this.loadQuickStartCases();
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
'defer' preserves execution order (xterm loads before fit addon). -->
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/xterm@5.3.0/lib/xterm.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/xterm-addon-fit@0.8.0/lib/xterm-addon-fit.min.js"></script>
|
||||
<!-- Synchronous mobile detection — runs before first paint to prevent panel flash -->
|
||||
<script>if(window.innerWidth<768||(('ontouchstart' in window||navigator.maxTouchPoints>0)&&window.innerWidth<1024))document.documentElement.classList.add('mobile-init');</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Skip link for keyboard users -->
|
||||
|
||||
@@ -4,6 +4,22 @@
|
||||
Loaded only on small/medium screens via media attribute in index.html.
|
||||
============================================================================ */
|
||||
|
||||
/* ============================================================================
|
||||
Mobile Init Flash Prevention
|
||||
Hides elements that are off by default on mobile BEFORE JS runs.
|
||||
The inline <script> in <head> adds .mobile-init to <html> synchronously.
|
||||
app.init() removes .mobile-init after applying visibility settings.
|
||||
============================================================================ */
|
||||
html.mobile-init .header-font-controls,
|
||||
html.mobile-init .header-system-stats,
|
||||
html.mobile-init .header-tokens,
|
||||
html.mobile-init .monitor-panel,
|
||||
html.mobile-init .subagents-panel,
|
||||
html.mobile-init .project-insights-panel,
|
||||
html.mobile-init .file-browser-panel {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* ============================================================================
|
||||
Tablet Breakpoint (430px - 768px)
|
||||
============================================================================ */
|
||||
|
||||
Reference in New Issue
Block a user