agentgui 1.0.194 → 1.0.195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/index.html +0 -1
- package/static/js/features.js +6 -2
package/package.json
CHANGED
package/static/index.html
CHANGED
|
@@ -920,7 +920,6 @@
|
|
|
920
920
|
}
|
|
921
921
|
|
|
922
922
|
.sidebar.collapsed { transform: translateX(-100%); width: var(--sidebar-width); }
|
|
923
|
-
.sidebar:not(.collapsed),
|
|
924
923
|
.sidebar.mobile-visible { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,0.2); }
|
|
925
924
|
|
|
926
925
|
.main-header { padding: 0 0.75rem; }
|
package/static/js/features.js
CHANGED
|
@@ -23,9 +23,13 @@
|
|
|
23
23
|
|
|
24
24
|
if (!sidebar) return;
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
if (savedState === 'true' && window.innerWidth > 768) {
|
|
26
|
+
if (window.innerWidth <= 768) {
|
|
28
27
|
sidebar.classList.add('collapsed');
|
|
28
|
+
} else {
|
|
29
|
+
var savedState = localStorage.getItem('sidebar-collapsed');
|
|
30
|
+
if (savedState === 'true') {
|
|
31
|
+
sidebar.classList.add('collapsed');
|
|
32
|
+
}
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
function isMobile() { return window.innerWidth <= 768; }
|