File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 6464 {{$.locale.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}}
6565 {{end}}
6666 {{if .IsPull}}
67- <div class="branches">
67+ <div class="branches df ac ">
6868 <div class="branch">
69- <a class="bold" href="{{.PullRequest.BaseRepo.HTMLURL}}/src/branch/{{PathEscapeSegments .PullRequest.BaseBranch}}">
69+ <a href="{{.PullRequest.BaseRepo.HTMLURL}}/src/branch/{{PathEscapeSegments .PullRequest.BaseBranch}}">
7070 {{/* inline to remove the spaces between spans */}}
7171 {{if ne .RepoID .PullRequest.BaseRepoID}}<span class="truncated-name">{{.PullRequest.BaseRepo.OwnerName}}</span>:{{end}}<span class="truncated-name">{{.PullRequest.BaseBranch}}</span>
7272 </a>
7373 </div>
74-
75- <span class="branch-icon">{{svg "gitea-double-chevron-left"}}</span>
76-
74+ {{svg "gitea-double-chevron-left" 12 "mx-1"}}
7775 {{if .PullRequest.HeadRepo}}
7876 <div class="branch">
79- <a class="bold" href="{{.PullRequest.HeadRepo.HTMLURL}}/src/branch/{{PathEscapeSegments .PullRequest.HeadBranch}}">
77+ <a href="{{.PullRequest.HeadRepo.HTMLURL}}/src/branch/{{PathEscapeSegments .PullRequest.HeadBranch}}">
8078 {{/* inline to remove the spaces between spans */}}
8179 {{if ne .RepoID .PullRequest.HeadRepoID}}<span class="truncated-name">{{.PullRequest.HeadRepo.OwnerName}}</span>:{{end}}<span class="truncated-name">{{.PullRequest.HeadBranch}}</span>
8280 </a>
Original file line number Diff line number Diff line change 122122
123123 .branches {
124124 display : inline-flex ;
125- padding : 0 6 px ;
125+ padding : 0 4 px ;
126126
127127 .branch {
128128 background-color : var (--color-secondary );
135135 text-overflow : ellipsis ;
136136 max-width : 10em ;
137137 }
138-
139- .branch-icon {
140- top : 1.5px ;
141- margin : 0 .2em ;
142- position : relative ;
143- }
144138 }
145139
146140 > .item + .item {
You can’t perform that action at this time.
0 commit comments