Fix bad spacing on new release page

This commit is contained in:
Malte Jürgens 2024-09-07 11:16:16 +02:00 committed by Otto Richter
parent 4763733caa
commit f518d508ef
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 {