mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 15:36:04 -03:30
Wrap floating loading text in a card
This commit is contained in:
@@ -80,7 +80,13 @@ function Inventory({ i18n, setBreadcrumb }) {
|
||||
}
|
||||
|
||||
if (hasContentLoading) {
|
||||
return <ContentLoading />;
|
||||
return (
|
||||
<PageSection>
|
||||
<Card>
|
||||
<ContentLoading />
|
||||
</Card>
|
||||
</PageSection>
|
||||
);
|
||||
}
|
||||
|
||||
if (!hasContentLoading && contentError) {
|
||||
|
||||
Reference in New Issue
Block a user