Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 97b9316

Browse files
committed
Fix issue incorrect positioning with widget loading indicator
by making sure to apply the correct CSS class to the parent
1 parent ddf9870 commit 97b9316

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/views/elements/AppTile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,11 @@ export default class AppTile extends React.Component {
534534
</div>
535535
);
536536
if (this.state.initialising) {
537-
appTileBody = loadingElement;
537+
appTileBody = (
538+
<div className={'mx_AppTileBody ' + (this.state.loading ? 'mx_AppLoading' : '')}>
539+
{ loadingElement }
540+
</div>
541+
);
538542
} else if (this.state.hasPermissionToLoad == true) {
539543
if (this.isMixedContent()) {
540544
appTileBody = (

0 commit comments

Comments
 (0)