forked from gitea/gitea
		
	Fix avatar misalignment (#22955)
Fix #22818. | Before | After | | ---- | ---- | | <img src="https://user-images.githubusercontent.com/15528715/219617504-d86e7a90-d4ac-4a92-bd8a-100dddc693d5.png" width="200px" /> | <img src="https://user-images.githubusercontent.com/15528715/219618645-a4045f65-bda6-49ce-a676-f03a9817bb70.png" width="200px" />| | <img src="https://user-images.githubusercontent.com/15528715/219618013-844ef208-853b-44bd-a67c-36e360f0ffa7.png" width="200px" /> | <img src="https://user-images.githubusercontent.com/15528715/219618361-cb13c369-852e-47bf-ae30-e429d348823d.png" width="200px" /> | --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		
							parent
							
								
									c53ad052d8
								
							
						
					
					
						commit
						65fc2d1b83
					
				| @ -13,7 +13,7 @@ | ||||
| 									{{avatar $.Context .User}} | ||||
| 								</a> | ||||
| 							{{end}} | ||||
| 							<span> | ||||
| 							<span class="gt-ml-2"> | ||||
| 								{{if .User}} | ||||
| 									<a href="{{.User.HomeLink}}">{{.User.GetDisplayName}}</a> | ||||
| 								{{else if .Team}} | ||||
|  | ||||
| @ -69,6 +69,7 @@ | ||||
| .ui.user.list { | ||||
|   .item { | ||||
|     padding-bottom: 25px; | ||||
|     display: flex; | ||||
| 
 | ||||
|     &:not(:first-child) { | ||||
|       border-top: 1px solid var(--color-secondary); | ||||
| @ -78,6 +79,7 @@ | ||||
|     img.ui.avatar { | ||||
|       width: 40px; | ||||
|       height: 40px; | ||||
|       margin-right: 10px; | ||||
|     } | ||||
| 
 | ||||
|     .description { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Zettat123
						Zettat123