Truncate commit summary on repo files table. (#22551)
There was an unintended regression in #21124 which assumed that `.commits-list .message-wrapper` would only match the commit summaries on `/{owner}/{name}/commits/*`. This assumption is incorrect as the directory/file view also uses a `.commits-list` wrapper. Rather than completely restructure this page this PR simply adjusts the styling to again use `display: inline-block;` for `#repo-files-table .commit-list .message-wrapper` Fix #22360 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		
					parent
					
						
							
								6fe3c8b398
							
						
					
				
			
			
				commit
				
					
						b8eb282327
					
				
			
		
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -2904,6 +2904,11 @@ tbody.commit-list {
 | 
			
		|||
  display: inline;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// but in the repo-files-table we cannot
 | 
			
		||||
#repo-files-table .commit-list .message-wrapper {
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@media @mediaSm {
 | 
			
		||||
  tr.commit-list {
 | 
			
		||||
    width: 100%;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue