Skip to content

Commit 6c9ae5c

Browse files
committed
fix(app): file path truncation in session turn
1 parent 8cbe7b4 commit 6c9ae5c

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

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

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -171,35 +171,25 @@
171171

172172
[data-slot="session-turn-diff-path"] {
173173
display: flex;
174+
flex-grow: 1;
174175
min-width: 0;
175-
align-items: baseline;
176-
overflow: hidden;
177-
white-space: nowrap;
178176

179177
font-family: var(--font-family-sans);
180178
font-size: var(--font-size-small);
181179
line-height: var(--line-height-large);
182180
}
183181

184182
[data-slot="session-turn-diff-directory"] {
185-
flex: 1 1 auto;
186-
color: var(--text-weak);
187-
min-width: 0;
183+
color: var(--text-base);
188184
overflow: hidden;
189185
text-overflow: ellipsis;
190186
white-space: nowrap;
191187
direction: rtl;
192-
unicode-bidi: plaintext;
193188
text-align: left;
194189
}
195190

196191
[data-slot="session-turn-diff-filename"] {
197192
flex-shrink: 0;
198-
max-width: 100%;
199-
min-width: 0;
200-
overflow: hidden;
201-
text-overflow: ellipsis;
202-
white-space: nowrap;
203193
color: var(--text-strong);
204194
font-weight: var(--font-weight-medium);
205195
}

0 commit comments

Comments
 (0)