summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/list.css
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2026-01-17 00:41:47 +0000
committerDavid Hill <[email protected]>2026-01-17 00:55:13 +0000
commit38847e13bb10d3cd951779836826b3b5272ec85b (patch)
tree80feabbbf2a4f674cfe8d3204ed025086115d36b /packages/ui/src/components/list.css
parente0c6459faa3461585ed7df91e60de85b2fa242c9 (diff)
downloadopencode-38847e13bb10d3cd951779836826b3b5272ec85b.tar.gz
opencode-38847e13bb10d3cd951779836826b3b5272ec85b.zip
fix: truncate long search queries in empty state
Diffstat (limited to 'packages/ui/src/components/list.css')
-rw-r--r--packages/ui/src/components/list.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/ui/src/components/list.css b/packages/ui/src/components/list.css
index 03a77df05..ee9be422c 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;
}
}