aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwxiaoguang2023-02-21 08:16:56 +0800
committerGitHub2023-02-20 19:16:56 -0500
commit1b950b98cf98c5064bafbd57cd6cde1fa029881b (patch)
treef21206f425a9c67a1581d4a115a35f4e30e0fad8 /templates
parent35d2fa744aae5782dcced573aa08ee9ff62c8e36 (diff)
Use `gt-relative` class instead of the ambiguous `gt-pr` class (#23008)
`.gt-relative` is also `position: relative !important;` There are `gt-pr-?` styles below (line 140) for `padding-right`, which makes `.gt-pr` ambiguous Co-authored-by: delvh <leon@kske.dev> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/commit_page.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl
index 0ecbf2916..028fdc7e5 100644
--- a/templates/repo/commit_page.tmpl
+++ b/templates/repo/commit_page.tmpl
@@ -17,7 +17,7 @@
{{$class = (printf "%s%s" $class " isWarning")}}
{{end}}
{{end}}
- <div class="ui top attached header clearing segment gt-pr commit-header {{$class}}">
+ <div class="ui top attached header clearing segment gt-relative commit-header {{$class}}">
<div class="gt-df gt-mb-4 gt-fw">
<h3 class="gt-mb-0 gt-f1"><span class="commit-summary" title="{{.Commit.Summary}}">{{RenderCommitMessage $.Context .Commit.Message $.RepoLink $.Repository.ComposeMetas}}</span>{{template "repo/commit_statuses" dict "Status" .CommitStatus "Statuses" .CommitStatuses "root" $}}</h3>
{{if not $.PageIsWiki}}