Drop flex container from panel agents card chips

The panel agents card wrapped its agent chips in a display:flex container;
render them in a plain div so they flow naturally with the surrounding
layout instead of being forced onto one flex row.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
MelekiandClaude Opus 4.8 committed 2026-06-19 08:44:42 +02:00
1 parent 5c89adb6df
commit f99c3c1db9
1 file changed
+1 -1
+1 -1
View File
@@ -145,7 +145,7 @@ registerPage('session', {
var model = a ? ((typeof prettyModelName === 'function') ? prettyModelName(a.model) : a.model) : '';
return '<span class="badge">' + esc(label) + (model ? ' · ' + esc(model) : '') + '</span>';
}).join(' ');
panelAgentsCard.innerHTML = '<div style="display:flex;flex-wrap:wrap;gap:4px;align-items:center">' + chips + '</div>'
panelAgentsCard.innerHTML = '<div>' + chips + '</div>'
+ '<span class="agent-select-change"><i class="fa fa-pencil"></i></span>';
}
function updatePanelVisibility() {