mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 14:35:40 +00:00
Adjust the signed tag verification line
Move the signed tag verification line above the release notes, don't disable the bottom margin, and make sure the verification line's box is properly rounded like other boxes. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
This commit is contained in:
parent
a2f603dedd
commit
d58143e4e1
|
@ -57,10 +57,10 @@
|
|||
| <span class="ahead"><a href="{{$.RepoLink}}/compare/{{$release.TagName | PathEscapeSegments}}...{{$release.TargetBehind | PathEscapeSegments}}">{{ctx.Locale.Tr "repo.release.ahead.commits" $release.NumCommitsBehind}}</a> {{ctx.Locale.Tr "repo.release.ahead.target" $release.TargetBehind}}</span>
|
||||
{{end}}
|
||||
</p>
|
||||
{{template "repo/tag/verification_line" (dict "ctxData" $ "release" $release)}}
|
||||
<div class="markup desc">
|
||||
{{$release.RenderedNote}}
|
||||
</div>
|
||||
{{template "repo/tag/verification_line" (dict "ctxData" $ "release" $release)}}
|
||||
<div class="divider"></div>
|
||||
<details class="download" {{if eq $idx 0}}open{{end}}>
|
||||
<summary class="tw-my-4">
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
{{$class = (print $class " isWarning")}}
|
||||
{{end}}
|
||||
|
||||
<div class="ui bottom attached message tw-text-left tw-flex tw-content-center tw-justify-between tag-signature-row tw-flex-wrap tw-mb-0 {{$class}}">
|
||||
<div class="ui attached message tw-text-left tw-flex tw-content-center tw-justify-between tag-signature-row tw-flex-wrap {{$class}}">
|
||||
<div class="tw-flex tw-content-center">
|
||||
{{if $v.Verified}}
|
||||
{{if ne $v.SigningUser.ID 0}}
|
||||
|
|
|
@ -2143,6 +2143,10 @@
|
|||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.ui.attached.message.tag-signature-row {
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.tag-signature-row div {
|
||||
margin-top: auto !important;
|
||||
margin-bottom: auto !important;
|
||||
|
|
Loading…
Reference in a new issue