mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Remove Fomantic-UI's .hidden CSS class for checkbox elements (#22851)
				
					
				
			Fomantic-UI's `.hidden` CSS class is badly designed.
* Checkbox elements do not need it in HTML, so this PR removes it (JS
adds the `.hidden` class back by `$('.ui.checkbox').checkbox()`)
* `menu transaction hidden` is still needed, and it should be the only
usage for the `.hidden` from now on (until they get refactored properly)
Co-authored-by: zeripath <art27@cantab.net>
			
			
This commit is contained in:
		@@ -16,7 +16,7 @@
 | 
			
		||||
		</div>
 | 
			
		||||
		<div class="inline field">
 | 
			
		||||
			<div class="ui checkbox">
 | 
			
		||||
				<input name="signoff" type="checkbox" tabindex="0" class="hidden">
 | 
			
		||||
				<input name="signoff" type="checkbox" tabindex="0">
 | 
			
		||||
				<label>{{.locale.Tr "repo.editor.signoff_desc"}}</label>
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user