Skip to content

Commit

Permalink
Warn: properly ellide error message text
Browse files Browse the repository at this point in the history
  • Loading branch information
rektdeckard committed Sep 28, 2020
1 parent e42317f commit fc685ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/IconGrid/IconGrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
}

.empty-list p {
max-width: 720px;
max-width: 80%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Warn/Warn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Warn: React.FC<WarnProps> = ({ message }) => {
<SmileyXEyes size={128} color="#615C68" weight="duotone" />
{message ?? (
<p>
No results for '<code>{query}</code>'
No results for "<code>{query}</code>"
</p>
)}
</motion.div>
Expand Down

0 comments on commit fc685ba

Please sign in to comment.