mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-04 02:02:14 +01:00 
			
		
		
		
	Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
		
						commit
						ad6397a7f4
					
				@ -61,6 +61,10 @@ limitations under the License.
 | 
				
			|||||||
    background-color: $dialog-background-bg-color;
 | 
					    background-color: $dialog-background-bg-color;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.mx_AppTile_persistedWrapper {
 | 
				
			||||||
 | 
					    height: 280px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.mx_AppTile:last-child {
 | 
					.mx_AppTile:last-child {
 | 
				
			||||||
    margin-right: 1px;
 | 
					    margin-right: 1px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -575,9 +575,13 @@ export default class AppTile extends React.Component {
 | 
				
			|||||||
                    // re-mounted later when we do.
 | 
					                    // re-mounted later when we do.
 | 
				
			||||||
                    if (this.props.whitelistCapabilities.includes('m.always_on_screen')) {
 | 
					                    if (this.props.whitelistCapabilities.includes('m.always_on_screen')) {
 | 
				
			||||||
                        const PersistedElement = sdk.getComponent("elements.PersistedElement");
 | 
					                        const PersistedElement = sdk.getComponent("elements.PersistedElement");
 | 
				
			||||||
                        appTileBody = <PersistedElement persistKey={this._persistKey}>
 | 
					                        // Also wrap the PersistedElement in a div to fix the height, otherwise
 | 
				
			||||||
                            {appTileBody}
 | 
					                        // AppTile's border is in the wrong place
 | 
				
			||||||
                        </PersistedElement>;
 | 
					                        appTileBody = <div className="mx_AppTile_persistedWrapper">
 | 
				
			||||||
 | 
					                            <PersistedElement persistKey={this._persistKey}>
 | 
				
			||||||
 | 
					                                {appTileBody}
 | 
				
			||||||
 | 
					                            </PersistedElement>
 | 
				
			||||||
 | 
					                        </div>;
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user