mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 00:02:20 -05:00 
			
		
		
		
	Fix milestone title font problem (#22863)
Replace #22853 since it's closed, and actually there are 2 places need to be fixed. ~~Follow @fsologureng 's suggestion to keep the `<hX>` tags.~~ Update: from fsologureng: this doesn't change anything from a11y's point of view. So I think this PR could be fine to fix the UI looking problems as a quick patch, then defer the a11y problems to new PRs together. Before: the font-size is too large. After: it seems better.   Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		
							parent
							
								
									e460b6ef4d
								
							
						
					
					
						commit
						b0f18726a3
					
				@ -62,9 +62,9 @@
 | 
			
		||||
			{{range .Milestones}}
 | 
			
		||||
				<li class="item">
 | 
			
		||||
					<div class="df ac sb">
 | 
			
		||||
						<h2 class="df ac m-0 fw">
 | 
			
		||||
						<h3 class="df ac m-0 fw">
 | 
			
		||||
							{{svg "octicon-milestone" 16 "mr-3"}}<a class="muted" href="{{$.RepoLink}}/milestone/{{.ID}}">{{.Name}}</a>
 | 
			
		||||
						</h2>
 | 
			
		||||
						</h3>
 | 
			
		||||
						<div class="df ac">
 | 
			
		||||
							<span class="mr-3">{{.Completeness}}%</span>
 | 
			
		||||
							<progress value="{{.Completeness}}" max="100"></progress>
 | 
			
		||||
 | 
			
		||||
@ -81,10 +81,10 @@
 | 
			
		||||
					{{range .Milestones}}
 | 
			
		||||
						<li class="item">
 | 
			
		||||
							<div class="df ac sb">
 | 
			
		||||
								<h2 class="df ac m-0 fw">
 | 
			
		||||
								<h3 class="df ac m-0 fw">
 | 
			
		||||
									<span class="ui large label">{{.Repo.FullName}}</span>
 | 
			
		||||
									{{svg "octicon-milestone" 16 "mr-3"}}<a class="muted" href="{{.Repo.Link}}/milestone/{{.ID}}">{{.Name}}</a>
 | 
			
		||||
								</h2>
 | 
			
		||||
								</h3>
 | 
			
		||||
								<div class="df ac">
 | 
			
		||||
									<span class="mr-3">{{.Completeness}}%</span>
 | 
			
		||||
									<progress value="{{.Completeness}}" max="100"></progress>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user