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 
			
		
		
		
	Simplify rendering to css-only
This commit is contained in:
		@@ -686,10 +686,7 @@ class LoggedInView extends React.Component<IProps, IState> {
 | 
			
		||||
                            <div
 | 
			
		||||
                                className="mx_LeftPanel_wrapper--user"
 | 
			
		||||
                                ref={this._resizeContainer}
 | 
			
		||||
                                style={{
 | 
			
		||||
                                    maxWidth: this.props.collapseLhs ? getComputedStyle(document.documentElement)
 | 
			
		||||
                                        .getPropertyValue('--room-list-collapsed-width') : undefined,
 | 
			
		||||
                                }}
 | 
			
		||||
                                data-collapsed={this.props.collapseLhs ? true : undefined}
 | 
			
		||||
                            >
 | 
			
		||||
                                <LeftPanel
 | 
			
		||||
                                    isMinimized={this.props.collapseLhs || false}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user