mirror of https://github.com/vector-im/riot-web
				
				
				
			Scale emoji with size of surrounding text (#8224)
* Scale emoji with size of surrounding text * Fix lintpull/21833/head
							parent
							
								
									1758450e5c
								
							
						
					
					
						commit
						ba71fb169f
					
				| 
						 | 
				
			
			@ -76,7 +76,9 @@ a.mx_Pill {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
.mx_Emoji {
 | 
			
		||||
    font-size: 1.8rem;
 | 
			
		||||
    // Should be 1.8rem for our default 1.4rem message bodies,
 | 
			
		||||
    // and scale with the size of the surrounding text
 | 
			
		||||
    font-size: calc(18 / 14 * 1em);
 | 
			
		||||
    vertical-align: bottom;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue