Skip to content

Commit 38847e1

Browse files
committed
fix: truncate long search queries in empty state
1 parent e0c6459 commit 38847e1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

packages/ui/src/components/list.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494

9595
[data-slot="list-empty-state"] {
9696
display: flex;
97-
padding: 32px 0px;
97+
padding: 32px 48px;
9898
flex-direction: column;
9999
justify-content: center;
100100
align-items: center;
@@ -106,8 +106,9 @@
106106
justify-content: center;
107107
align-items: center;
108108
gap: 2px;
109+
max-width: 100%;
109110
color: var(--text-weak);
110-
text-align: center;
111+
white-space: nowrap;
111112

112113
/* text-14-regular */
113114
font-family: var(--font-family-sans);
@@ -120,6 +121,8 @@
120121

121122
[data-slot="list-filter"] {
122123
color: var(--text-strong);
124+
overflow: hidden;
125+
text-overflow: ellipsis;
123126
}
124127
}
125128

0 commit comments

Comments
 (0)