Skip to content

Commit f2d3a4c

Browse files
fix(ui): prevent long filenames from overlapping actions (anomalyco#17151)
1 parent 4b9b86b commit f2d3a4c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

packages/ui/src/components/session-review.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@
125125

126126
[data-slot="session-review-filename"] {
127127
color: var(--text-strong);
128-
flex-shrink: 0;
128+
min-width: 0;
129+
overflow: hidden;
130+
text-overflow: ellipsis;
131+
white-space: nowrap;
129132
}
130133

131134
[data-slot="session-review-view-button"] {

packages/ui/src/components/session-turn.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,12 @@
190190
}
191191

192192
[data-slot="session-turn-diff-filename"] {
193-
flex-shrink: 0;
193+
min-width: 0;
194194
color: var(--text-strong);
195195
font-weight: var(--font-weight-medium);
196+
overflow: hidden;
197+
text-overflow: ellipsis;
198+
white-space: nowrap;
196199
}
197200

198201
[data-slot="session-turn-diff-meta"] {

0 commit comments

Comments
 (0)