fix(ui): repo settings units overview anchor (#8322)
This fixes (or features?) a small nit that I found disturbing when clicking through repository settings. # Test - open repo settings - click in navigation bar on "Units" and then on "Overview" - the page opens now at top (not jumping down as before that change) - click on "Issues", etc. -> the page still jumps to the related sections Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8322 Reviewed-by: Otto <otto@codeberg.org> Reviewed-by: Beowulf <beowulf@beocode.eu> Co-authored-by: Robert Wolff <mahlzahn@posteo.de> Co-committed-by: Robert Wolff <mahlzahn@posteo.de>
This commit is contained in:
		
					parent
					
						
							
								0ecb25fdcb
							
						
					
				
			
			
				commit
				
					
						2f0a993a33
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -7,7 +7,7 @@ | |||
| 		<details class="item toggleable-item" {{if .PageIsRepoSettingsUnits}}open{{end}}> | ||||
| 			<summary {{if .PageIsRepoSettingsUnits}}class="active"{{end}}>{{ctx.Locale.Tr "repo.settings.units.units"}}</summary> | ||||
| 			<div class="menu"> | ||||
| 				<a class="item" href="{{.RepoLink}}/settings/units#overview"> | ||||
| 				<a class="item" href="{{.RepoLink}}/settings/units"> | ||||
| 					{{ctx.Locale.Tr "repo.settings.units.overview"}} | ||||
| 				</a> | ||||
| 				<a class="item" href="{{.RepoLink}}/settings/units#issues"> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Robert Wolff
				Robert Wolff