mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-15 19:42:04 +00:00
fix(ui): fix alignment of items in tag signature (#9398)
Followup to https://codeberg.org/forgejo/forgejo/pulls/8984. (62f2515138
)
Before: https://codeberg.org/attachments/01a29d33-adae-4e6f-971b-d4871341bd9c
After: https://codeberg.org/attachments/c11b7391-aeab-4451-a5be-00f700bf3746
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9398
Reviewed-by: Antonin Delpeuch <wetneb@noreply.codeberg.org>
This commit is contained in:
parent
02cd96856f
commit
a0011375b7
3 changed files with 9 additions and 4 deletions
|
@ -209,7 +209,7 @@
|
|||
</div>
|
||||
{{if .Commit.Signature}}
|
||||
<div class="ui bottom attached message signature-row tw-mb-0 {{$class}}">
|
||||
<div class="tw-flex tw-items-center">
|
||||
<div>
|
||||
{{if .Verification.Verified}}
|
||||
{{if ne .Verification.SigningUser.ID 0}}
|
||||
{{svg "gitea-lock" 16 "tw-mr-2"}}
|
||||
|
@ -233,7 +233,7 @@
|
|||
<span class="ui text">{{ctx.Locale.Tr .Verification.Reason}}</span>
|
||||
{{end}}
|
||||
</div>
|
||||
<div class="tw-flex tw-items-center">
|
||||
<div>
|
||||
{{if .Verification.Verified}}
|
||||
{{svg "octicon-verified" 16 "tw-mr-2"}}
|
||||
{{if ne .Verification.SigningUser.ID 0}}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{{end}}
|
||||
|
||||
<div class="ui bottom attached message signature-row tw-mb-4 tw-rounded {{$class}}">
|
||||
<div class="tw-flex tw-content-center">
|
||||
<div>
|
||||
{{if $v.Verified}}
|
||||
{{if ne $v.SigningUser.ID 0}}
|
||||
{{svg "gitea-lock" 16 "tw-mr-2"}}
|
||||
|
@ -29,7 +29,7 @@
|
|||
{{end}}
|
||||
</div>
|
||||
|
||||
<div class="tw-flex tw-content-center">
|
||||
<div>
|
||||
{{if $v.Verified}}
|
||||
{{if ne $v.SigningUser.ID 0}}
|
||||
{{svg "octicon-verified" 16 "tw-mr-2"}}
|
||||
|
|
|
@ -1984,6 +1984,11 @@ details.repo-search-result summary::marker {
|
|||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.signature-row > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.commit-header-buttons {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue