Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use gt-relative class instead of the ambiguous gt-pr class #23008

Merged
merged 10 commits into from Feb 21, 2023
2 changes: 1 addition & 1 deletion templates/repo/commit_page.tmpl
Expand Up @@ -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}}
Expand Down
1 change: 0 additions & 1 deletion web_src/less/helpers.less
Expand Up @@ -2,7 +2,6 @@
.gt-di { display: inline !important; }
.gt-dif { display: inline-flex !important; }
.gt-dib { display: inline-block !important; }
.gt-pr { position: relative !important; }
.gt-ac { align-items: center !important; }
.gt-tc { text-align: center !important; }
.gt-tl { text-align: left !important; }
Expand Down