You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-04 11:51:45 +03:00 
			
		
		
		
	Fix modern layout
This commit is contained in:
		@@ -623,9 +623,12 @@ class LoggedInView extends React.Component<IProps, IState> {
 | 
				
			|||||||
                break;
 | 
					                break;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        const wrapperClasses = classNames({
 | 
				
			||||||
 | 
					            'mx_MatrixChat_wrapper': true,
 | 
				
			||||||
 | 
					            'mx_MatrixChat_useCompactLayout': this.state.useCompactLayout,
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
        const bodyClasses = classNames({
 | 
					        const bodyClasses = classNames({
 | 
				
			||||||
            'mx_MatrixChat': true,
 | 
					            'mx_MatrixChat': true,
 | 
				
			||||||
            'mx_MatrixChat_useCompactLayout': this.state.useCompactLayout,
 | 
					 | 
				
			||||||
            'mx_MatrixChat--with-avatar': this.state.backgroundImage,
 | 
					            'mx_MatrixChat--with-avatar': this.state.backgroundImage,
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -640,7 +643,7 @@ class LoggedInView extends React.Component<IProps, IState> {
 | 
				
			|||||||
                <div
 | 
					                <div
 | 
				
			||||||
                    onPaste={this.onPaste}
 | 
					                    onPaste={this.onPaste}
 | 
				
			||||||
                    onKeyDown={this.onReactKeyDown}
 | 
					                    onKeyDown={this.onReactKeyDown}
 | 
				
			||||||
                    className='mx_MatrixChat_wrapper'
 | 
					                    className={wrapperClasses}
 | 
				
			||||||
                    aria-hidden={this.props.hideToSRUsers}
 | 
					                    aria-hidden={this.props.hideToSRUsers}
 | 
				
			||||||
                >
 | 
					                >
 | 
				
			||||||
                    <ToastContainer />
 | 
					                    <ToastContainer />
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user