diff --git a/frontend/index.html b/frontend/index.html index d89b5d8..c256e51 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -119,7 +119,7 @@ body { font: 14px/1.5 system-ui, sans-serif; background: var(--bg); color: var(- .trace-left { flex: 1; display: flex; flex-direction: column; overflow: hidden; } /* APDU list */ -.apdu-list { flex: 1; overflow-y: auto; padding: 8px; } +.apdu-list { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 8px; } .apdu-entry { display: flex; gap: 12px; padding: 3px 12px; border-bottom: 1px solid var(--bg-panel); cursor: pointer; align-items: baseline; } .apdu-entry.apdu-pair { background: var(--pair-row); } .apdu-entry:hover { background: var(--bg-panel); } @@ -149,7 +149,10 @@ body { font: 14px/1.5 system-ui, sans-serif; background: var(--bg); color: var(- .device-warn { padding: 8px 12px; font-size: 12px; color: var(--warn); background: var(--warning-bg); border-bottom: 1px solid var(--warn); } /* APDU detail panel */ -.apdu-detail { display: flex; flex-direction: column; max-height: 40%; overflow-y: auto; border-top: 2px solid var(--accent); background: var(--bg-panel); flex-shrink: 0; } +.apdu-detail { display: flex; flex-direction: column; flex: 0 0 var(--detail-height, 30%); overflow-y: auto; background: var(--bg-panel); } +/* Splitter bar */ +.splitter { height: 6px; cursor: row-resize; background: var(--border); flex-shrink: 0; } +.splitter:hover, .splitter.active { background: var(--accent); } .apdu-detail .detail-empty { padding: 24px; color: var(--text-muted); text-align: center; } .detail-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--bg-input); border-bottom: 1px solid var(--border); } [data-theme="light"] .detail-header { background: #dbeafe; } @@ -308,6 +311,7 @@ body { font: 14px/1.5 system-ui, sans-serif; background: var(--bg); color: var(-