Merge pull request '[v8.0/forgejo] Fix bad spacing on new release page #5261' (#5302) from fnetx/bp-release-spacing into v8.0/forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5302
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
Otto 2024-09-12 12:41:45 +00:00
commit ed3cbdaeee
2 changed files with 2 additions and 6 deletions

View file

@ -91,7 +91,7 @@
{{else}} {{else}}
<input type="hidden" name="add_tag_msg" value="false"> <input type="hidden" name="add_tag_msg" value="false">
{{end}} {{end}}
<div class="prerelease field"> <div class="field tw-mb-0">
<div class="ui checkbox"> <div class="ui checkbox">
<input type="checkbox" name="prerelease" {{if .prerelease}}checked{{end}}> <input type="checkbox" name="prerelease" {{if .prerelease}}checked{{end}}>
<label><strong>{{ctx.Locale.Tr "repo.release.prerelease_desc"}}</strong></label> <label><strong>{{ctx.Locale.Tr "repo.release.prerelease_desc"}}</strong></label>
@ -99,7 +99,7 @@
</div> </div>
<span class="help">{{ctx.Locale.Tr "repo.release.prerelease_helper"}}</span> <span class="help">{{ctx.Locale.Tr "repo.release.prerelease_helper"}}</span>
{{if not .DisableDownloadSourceArchives}} {{if not .DisableDownloadSourceArchives}}
<div class="field"> <div class="field tw-mb-0">
<div class="ui checkbox"> <div class="ui checkbox">
<input type="checkbox" name="hide_archive_links" {{if .hide_archive_links}}checked{{end}}> <input type="checkbox" name="hide_archive_links" {{if .hide_archive_links}}checked{{end}}>
<label><strong>{{ctx.Locale.Tr "repo.release.hide_archive_links"}}</strong></label> <label><strong>{{ctx.Locale.Tr "repo.release.hide_archive_links"}}</strong></label>

View file

@ -99,10 +99,6 @@
padding-bottom: 10px; padding-bottom: 10px;
} }
.repository.new.release .prerelease.field {
margin-bottom: 0;
}
@media (max-width: 438px) { @media (max-width: 438px) {
.repository.new.release .field button, .repository.new.release .field button,
.repository.new.release .field input { .repository.new.release .field input {