Skip to content

Commit fc685ba

Browse files
committed
Warn: properly ellide error message text
1 parent e42317f commit fc685ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/IconGrid/IconGrid.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
}
164164

165165
.empty-list p {
166-
max-width: 720px;
166+
max-width: 80%;
167167
overflow: hidden;
168168
text-overflow: ellipsis;
169169
white-space: nowrap;

src/components/Warn/Warn.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const Warn: React.FC<WarnProps> = ({ message }) => {
2525
<SmileyXEyes size={128} color="#615C68" weight="duotone" />
2626
{message ?? (
2727
<p>
28-
No results for '<code>{query}</code>'
28+
No results for "<code>{query}</code>"
2929
</p>
3030
)}
3131
</motion.div>

0 commit comments

Comments
 (0)