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

View file

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