Wrap floating loading text in a card

This commit is contained in:
Marliana Lara
2020-01-22 13:36:15 -05:00
parent fc5363a140
commit 00a9e42001

View File

@@ -80,7 +80,13 @@ function Inventory({ i18n, setBreadcrumb }) {
} }
if (hasContentLoading) { if (hasContentLoading) {
return <ContentLoading />; return (
<PageSection>
<Card>
<ContentLoading />
</Card>
</PageSection>
);
} }
if (!hasContentLoading && contentError) { if (!hasContentLoading && contentError) {