mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Fix avatar offset on PR/issue timeline view (#13753)
* Fix avatar offset on PR/issue timeline view * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							63aeb0a859
						
					
				
				
					commit
					d7ab72681d
				
			@@ -837,8 +837,6 @@
 | 
				
			|||||||
          width: 20px;
 | 
					          width: 20px;
 | 
				
			||||||
          height: 20px;
 | 
					          height: 20px;
 | 
				
			||||||
          margin-right: .5rem;
 | 
					          margin-right: .5rem;
 | 
				
			||||||
          position: relative;
 | 
					 | 
				
			||||||
          top: -2px;
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        &:first-child:not(.commit) {
 | 
					        &:first-child:not(.commit) {
 | 
				
			||||||
@@ -894,6 +892,12 @@
 | 
				
			|||||||
          .singular-commit {
 | 
					          .singular-commit {
 | 
				
			||||||
            line-height: 34px; /* this must be same as .badge height, to avoid overflow */
 | 
					            line-height: 34px; /* this must be same as .badge height, to avoid overflow */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            > .avatar.image,
 | 
				
			||||||
 | 
					            > .avatar.image img {
 | 
				
			||||||
 | 
					              position: relative;
 | 
				
			||||||
 | 
					              top: -2px;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            .shabox {
 | 
					            .shabox {
 | 
				
			||||||
              .sha.label {
 | 
					              .sha.label {
 | 
				
			||||||
                margin: 0;
 | 
					                margin: 0;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user