Skip to content

Commit 866dade

Browse files
authored
fix(ui): keep session rail pill status from overlapping the headline (#119397)
1 parent 1ee0564 commit 866dade

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎ui/src/styles/components.css‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,9 @@ openclaw-chat-session-rail {
18001800
.chat-session-rail__status {
18011801
--rail-health-color: var(--muted);
18021802
gap: 5px;
1803-
min-width: 0;
1803+
/* Never shrink: the chip has no overflow clipping, so a squeezed box paints
1804+
its label over the pill headline next to it. */
1805+
flex: 0 0 auto;
18041806
color: var(--rail-health-color);
18051807
font-size: 11px;
18061808
font-weight: 650;
@@ -1866,6 +1868,9 @@ openclaw-chat-session-rail {
18661868
}
18671869

18681870
.chat-session-rail__headline {
1871+
/* Block, not inline: ellipsis needs a block box inside the pill's expand
1872+
button, or the text hard-clips at the button edge. */
1873+
display: block;
18691874
min-width: 0;
18701875
overflow: hidden;
18711876
color: var(--text);

0 commit comments

Comments
 (0)