1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00

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 abd08e6fd8
commit 28643cc276
2 changed files with 20 additions and 27 deletions

View file

@ -111,32 +111,29 @@
<div class="divider"></div> <div class="divider"></div>
<div class="ui"> <div class="ui">
<div> <div>
{{if not .PageIsEditRelease}} <fieldset>
<div class="tag-message field"> {{if not .PageIsEditRelease}}
<div class="ui checkbox"> <label>
<input type="checkbox" name="add_tag_msg"> <input type="checkbox" name="add_tag_msg">
<label><strong>{{ctx.Locale.Tr "repo.release.add_tag_msg"}}</strong></label> {{ctx.Locale.Tr "repo.release.add_tag_msg"}}
</div> <span class="help"></span>
</div> </label>
{{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"> <label>
<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> {{ctx.Locale.Tr "repo.release.prerelease_desc"}}
</div> <span class="help">{{ctx.Locale.Tr "repo.release.prerelease_helper"}}</span>
</div> </label>
<span class="help">{{ctx.Locale.Tr "repo.release.prerelease_helper"}}</span> {{if not .DisableDownloadSourceArchives}}
{{if not .DisableDownloadSourceArchives}} <label>
<div class="field">
<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> {{ctx.Locale.Tr "repo.release.hide_archive_links"}}
</div> <span class="help">{{ctx.Locale.Tr "repo.release.hide_archive_links_helper"}}</span>
</div> </label>
<span class="help">{{ctx.Locale.Tr "repo.release.hide_archive_links_helper"}}</span> {{end}}
{{end}} </fieldset>
<div class="divider tw-mt-0"></div> <div class="divider tw-mt-0"></div>
<div class="tw-flex tw-justify-end button-row"> <div class="tw-flex tw-justify-end button-row">
{{if .PageIsEditRelease}} {{if .PageIsEditRelease}}

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 {