Skip to content

Commit 9d1f17d

Browse files
authored
fix(ui): remove redundant flex overrides in tool components (#24749)
1 parent b420952 commit 9d1f17d

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

packages/ui/src/components/basic-tool.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,6 @@
1111
cursor: pointer;
1212
}
1313

14-
&[data-hide-details="true"] {
15-
[data-slot="basic-tool-tool-trigger-content"] {
16-
flex: 1 1 auto;
17-
max-width: 100%;
18-
}
19-
20-
[data-slot="basic-tool-tool-info"] {
21-
flex: 1 1 auto;
22-
}
23-
}
24-
2514
[data-slot="basic-tool-tool-trigger-content"] {
2615
flex: 0 1 auto;
2716
width: auto;

packages/ui/src/components/message-part.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,6 @@
12071207

12081208
[data-slot="apply-patch-filename"] {
12091209
color: var(--text-strong);
1210-
flex: 1 1 auto;
12111210
min-width: 0;
12121211
overflow: hidden;
12131212
text-overflow: ellipsis;

0 commit comments

Comments
 (0)