diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-02-13 11:16:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 11:16:59 +0800 |
commit | eb5e1bcd2175c05c724e19c1a261c3f3d063abe6 (patch) | |
tree | 03952b5c4d180f3fbb18b4c3b3e15fca20b473c9 /templates/repo/editor | |
parent | c8093a13ff89834d587556a292c4c8cbfdb700a5 (diff) | |
download | gitea-eb5e1bcd2175c05c724e19c1a261c3f3d063abe6.tar.gz gitea-eb5e1bcd2175c05c724e19c1a261c3f3d063abe6.zip |
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>
Diffstat (limited to 'templates/repo/editor')
-rw-r--r-- | templates/repo/editor/commit_form.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/editor/commit_form.tmpl b/templates/repo/editor/commit_form.tmpl index f4778e22d1..95c42f8ae0 100644 --- a/templates/repo/editor/commit_form.tmpl +++ b/templates/repo/editor/commit_form.tmpl @@ -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> |