Skip to content

The open source coding agent.

TypeScript

fix: truncate long search queries in empty state

David Hill38847e13bb10
diff --git a/packages/ui/src/components/list.css b/packages/ui/src/components/list.css
index 03a77df0587..ee9be422c97 100644
--- a/packages/ui/src/components/list.css
+++ b/packages/ui/src/components/list.css
@@ -94,7 +94,7 @@
[data-slot="list-empty-state"] {
display: flex;
- padding: 32px 0px;
+ padding: 32px 48px;
flex-direction: column;
justify-content: center;
align-items: center;
@@ -106,8 +106,9 @@
justify-content: center;
align-items: center;
gap: 2px;
+ max-width: 100%;
color: var(--text-weak);
- text-align: center;
+ white-space: nowrap;
/* text-14-regular */
font-family: var(--font-family-sans);
@@ -120,6 +121,8 @@
[data-slot="list-filter"] {
color: var(--text-strong);
+ overflow: hidden;
+ text-overflow: ellipsis;
}
}