mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
Fix issue incorrect positioning with widget loading indicator
by making sure to apply the correct CSS class to the parent
This commit is contained in:
parent
ddf98705f2
commit
97b9316ec7
1 changed files with 5 additions and 1 deletions
|
@ -534,7 +534,11 @@ export default class AppTile extends React.Component {
|
|||
</div>
|
||||
);
|
||||
if (this.state.initialising) {
|
||||
appTileBody = loadingElement;
|
||||
appTileBody = (
|
||||
<div className={'mx_AppTileBody ' + (this.state.loading ? 'mx_AppLoading' : '')}>
|
||||
{ loadingElement }
|
||||
</div>
|
||||
);
|
||||
} else if (this.state.hasPermissionToLoad == true) {
|
||||
if (this.isMixedContent()) {
|
||||
appTileBody = (
|
||||
|
|
Loading…
Reference in a new issue