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 
			
		
		
		
	Skinnier pills are easier to swallow
This commit is contained in:
		@@ -10,10 +10,9 @@
 | 
				
			|||||||
    align-items: center;
 | 
					    align-items: center;
 | 
				
			||||||
    vertical-align: middle;
 | 
					    vertical-align: middle;
 | 
				
			||||||
    border-radius: $font-16px;
 | 
					    border-radius: $font-16px;
 | 
				
			||||||
    height: $font-16px;
 | 
					    line-height: $font-15px;
 | 
				
			||||||
    line-height: $font-20px;
 | 
					 | 
				
			||||||
    padding-left: 0;
 | 
					    padding-left: 0;
 | 
				
			||||||
    padding-right: 0.5rem;
 | 
					    padding-right: $font-5px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
a.mx_Pill {
 | 
					a.mx_Pill {
 | 
				
			||||||
@@ -22,11 +21,10 @@ a.mx_Pill {
 | 
				
			|||||||
    overflow: hidden;
 | 
					    overflow: hidden;
 | 
				
			||||||
    vertical-align: text-bottom;
 | 
					    vertical-align: text-bottom;
 | 
				
			||||||
    max-width: calc(100% - 1ch);
 | 
					    max-width: calc(100% - 1ch);
 | 
				
			||||||
    height: $font-24px;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.mx_Pill {
 | 
					.mx_Pill {
 | 
				
			||||||
    padding: $font-5px;
 | 
					    padding: $font-1px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* More specific to override `.markdown-body a` color */
 | 
					/* More specific to override `.markdown-body a` color */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user