Skip to content

Commit

Permalink
feat: Add empty result to activity (decentraland#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzavalia authored Jan 4, 2022
1 parent 1b0363c commit b30f8cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions webapp/src/components/Sales/Activity/Activity.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@
.Activity .mobile-row .dcl.mana {
margin: 0;
}

.Activity .empty {
margin-top: 40px;
font-size: 16px;
text-align: center;
color: var(--secondary-text);
}
1 change: 1 addition & 0 deletions webapp/src/components/Sales/Activity/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const Activity = ({
</Table.Body>
</Table>
</NotMobile>
{count === 0 && <div className="empty">{t('global.no_results')}</div>}
{hasPagination && (
<div className="pagination">
<Pagination
Expand Down

0 comments on commit b30f8cc

Please sign in to comment.