From 6b788384166f33bbba193c430cc01257f404625e Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Tue, 17 Mar 2026 00:00:00 -0400 Subject: [PATCH] fix: improve agent detail modal layout and fallback chain display MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Widen agent detail modal from 600px to 700px to better accommodate longer model names and the fallback chain editor - Restructure the Fallbacks section in the Info tab: content div is now a column flex container (gap:6px) with margin-left:16px to create a clear visual column between the label and its content - Prevent long provider/model badge strings from overflowing the right edge of the modal (word-break:break-all; white-space:normal on badge) - Add flex-shrink:0 to the × delete button so it never gets squashed when a badge is long - Wrap the "+ Add" button in a div so it stays left-aligned (column flex would otherwise stretch a bare button to full width) - Replace margin-top with gap-based spacing on the fallback edit form Co-Authored-By: Claude Sonnet 4.6 --- crates/openfang-api/static/index_body.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/crates/openfang-api/static/index_body.html b/crates/openfang-api/static/index_body.html index 539f1aa2..ff170226 100644 --- a/crates/openfang-api/static/index_body.html +++ b/crates/openfang-api/static/index_body.html @@ -897,7 +897,7 @@