mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-10-23 21:52:29 +00:00
Fix: customization panel scrolls — fixed height + min-height: 0 on body
This commit is contained in:
1 parent
f1bcb95ee5
commit
56a09d180d
2 files changed
+5
-5
No files matched your search
+4
-4
@@ -262,17 +262,17 @@
|
||||
if (styleEl) return;
|
||||
styleEl = document.createElement('style');
|
||||
styleEl.textContent = `
|
||||
.cust-overlay { position: fixed; top: 56px; right: 12px; z-index: 1050; width: 480px; max-height: calc(100vh - 68px);
|
||||
.cust-overlay { position: fixed; top: 56px; right: 12px; z-index: 1050; width: 480px; height: calc(100vh - 68px);
|
||||
background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px;
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.3); display: flex; flex-direction: column; overflow: hidden;
|
||||
resize: both; min-width: 320px; min-height: 300px; }
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.3); display: flex; flex-direction: column;
|
||||
resize: both; min-width: 320px; min-height: 300px; overflow: hidden; }
|
||||
.cust-overlay.hidden { display: none; }
|
||||
.cust-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
|
||||
border-bottom: 1px solid var(--border); cursor: move; user-select: none; flex-shrink: 0; }
|
||||
.cust-header h2 { margin: 0; font-size: 15px; }
|
||||
.cust-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); padding: 4px 8px; border-radius: 4px; }
|
||||
.cust-close:hover { background: var(--surface-3); color: var(--text); }
|
||||
.cust-body { flex: 1; overflow-y: auto; padding: 0; }
|
||||
.cust-body { flex: 1; overflow-y: auto; min-height: 0; }
|
||||
.cust-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); flex-shrink: 0; }
|
||||
.cust-tab { padding: 8px 10px; cursor: pointer; border: none; background: none; color: var(--text-muted);
|
||||
font-size: 12px; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; flex: 1; text-align: center; }
|
||||
|
||||
+1
-1
@@ -101,6 +101,6 @@
|
||||
<script src="observer-detail.js?v=1774219440" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="node-analytics.js?v=1774126708" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="perf.js?v=1773985649" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="customize.js?v=1774233249" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
<script src="customize.js?v=1774233307" onerror="console.error('Failed to load:', this.src)"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user