Skip to content

Commit

Permalink
fix: loading status
Browse files Browse the repository at this point in the history
  • Loading branch information
lauti7 committed Dec 5, 2023
1 parent 4f031b2 commit b490933
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/Notifications/NotificationsFeed.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
box-shadow: -1px -1px 0 0 var(--background);
}

.dcl.notifications-feed__loader {
height: 290px;
}

.dcl.notifications-feed__content > .dcl.tabs {
margin-bottom: 0;
height: auto;
Expand Down
6 changes: 5 additions & 1 deletion src/components/Notifications/NotificationsFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,11 @@ export default function NotificationsFeed({
</div>
</div>
)}
{isLoading && <Loader active />}
{isLoading && (
<div className="dcl notifications-feed__loader">
<Loader active />
</div>
)}
</div>
)
}
Expand Down

0 comments on commit b490933

Please sign in to comment.