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 64
64
{{$.locale.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}}
65
65
{{end}}
66
66
{{if .IsPull}}
67
- <div class="branches">
67
+ <div class="branches df ac ">
68
68
<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}}">
70
70
{{/* inline to remove the spaces between spans */}}
71
71
{{if ne .RepoID .PullRequest.BaseRepoID}}<span class="truncated-name">{{.PullRequest.BaseRepo.OwnerName}}</span>:{{end}}<span class="truncated-name">{{.PullRequest.BaseBranch}}</span>
72
72
</a>
73
73
</div>
74
-
75
- <span class="branch-icon">{{svg "gitea-double-chevron-left"}}</span>
76
-
74
+ {{svg "gitea-double-chevron-left" 12 "mx-1"}}
77
75
{{if .PullRequest.HeadRepo}}
78
76
<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}}">
80
78
{{/* inline to remove the spaces between spans */}}
81
79
{{if ne .RepoID .PullRequest.HeadRepoID}}<span class="truncated-name">{{.PullRequest.HeadRepo.OwnerName}}</span>:{{end}}<span class="truncated-name">{{.PullRequest.HeadBranch}}</span>
82
80
</a>
Original file line number Diff line number Diff line change 122
122
123
123
.branches {
124
124
display : inline-flex ;
125
- padding : 0 6 px ;
125
+ padding : 0 4 px ;
126
126
127
127
.branch {
128
128
background-color : var (--color-secondary );
135
135
text-overflow : ellipsis ;
136
136
max-width : 10em ;
137
137
}
138
-
139
- .branch-icon {
140
- top : 1.5px ;
141
- margin : 0 .2em ;
142
- position : relative ;
143
- }
144
138
}
145
139
146
140
> .item + .item {
You can’t perform that action at this time.
0 commit comments