mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-03 17:51:51 +01:00 
			
		
		
		
	fix comedy scrolling parallax avatar initial bug
This commit is contained in:
		
							parent
							
								
									66add5673b
								
							
						
					
					
						commit
						1f69760173
					
				@ -24,3 +24,7 @@ limitations under the License.
 | 
			
		||||
    color: #fff;
 | 
			
		||||
    text-align: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.mx_MemberAvatar_wrapper {
 | 
			
		||||
    position: relative;
 | 
			
		||||
}
 | 
			
		||||
@ -49,7 +49,7 @@ module.exports = React.createClass({
 | 
			
		||||
                initial = this.props.member.name[1].toUpperCase();
 | 
			
		||||
         
 | 
			
		||||
            return (
 | 
			
		||||
                <span>
 | 
			
		||||
                <span className="mx_MemberAvatar_wrapper">
 | 
			
		||||
                    <span className="mx_MemberAvatar_initial"
 | 
			
		||||
                          style={{ fontSize: (this.props.width * 0.75) + "px",
 | 
			
		||||
                                   width: this.props.width + "px",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user