Fix bad spacing on new release page
This commit is contained in:
parent
abd08e6fd8
commit
28643cc276
2 changed files with 20 additions and 27 deletions
|
@ -111,32 +111,29 @@
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<div class="ui">
|
<div class="ui">
|
||||||
<div>
|
<div>
|
||||||
|
<fieldset>
|
||||||
{{if not .PageIsEditRelease}}
|
{{if not .PageIsEditRelease}}
|
||||||
<div class="tag-message field">
|
<label>
|
||||||
<div class="ui checkbox">
|
|
||||||
<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>
|
|
||||||
</div>
|
|
||||||
<span class="help">{{ctx.Locale.Tr "repo.release.prerelease_helper"}}</span>
|
<span class="help">{{ctx.Locale.Tr "repo.release.prerelease_helper"}}</span>
|
||||||
|
</label>
|
||||||
{{if not .DisableDownloadSourceArchives}}
|
{{if not .DisableDownloadSourceArchives}}
|
||||||
<div class="field">
|
<label>
|
||||||
<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>
|
|
||||||
</div>
|
|
||||||
<span class="help">{{ctx.Locale.Tr "repo.release.hide_archive_links_helper"}}</span>
|
<span class="help">{{ctx.Locale.Tr "repo.release.hide_archive_links_helper"}}</span>
|
||||||
|
</label>
|
||||||
{{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}}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue