fix(ui): keep session rail pill status from overlapping the headline (#119397)

This commit is contained in:
Peter Steinberger
2026-08-04 20:06:26 -07:00
committed by GitHub
parent 1ee0564b09
commit 866dade246
+6 -1
View File
@@ -1800,7 +1800,9 @@ openclaw-chat-session-rail {
.chat-session-rail__status {
--rail-health-color: var(--muted);
gap: 5px;
min-width: 0;
/* Never shrink: the chip has no overflow clipping, so a squeezed box paints
its label over the pill headline next to it. */
flex: 0 0 auto;
color: var(--rail-health-color);
font-size: 11px;
font-weight: 650;
@@ -1866,6 +1868,9 @@ openclaw-chat-session-rail {
}
.chat-session-rail__headline {
/* Block, not inline: ellipsis needs a block box inside the pill's expand
button, or the text hard-clips at the button edge. */
display: block;
min-width: 0;
overflow: hidden;
color: var(--text);