Skip to content

Commit 35b7d32

Browse files
committed
add margin top 2 for item
1 parent f77d7e7 commit 35b7d32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/repo/issue/sidebar/development.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{{end}}
1111
{{range .DevLinks}}
1212
{{if .PullRequest}}
13-
<div class="tw-flex tw-items-center tw-overflow-hidden tw-max-w-full">
13+
<div class="tw-flex tw-items-center tw-overflow-hidden tw-max-w-full tw-mt-2">
1414
<span class="tw-mr-1">{{template "shared/issueicon" .PullRequest.Issue}}</span>
1515
<a href="{{.PullRequest.Issue.Link}}" class="ref-issue item tw-overflow-hidden gt-ellipsis tw-whitespace-nowrap">
1616
{{.PullRequest.Issue.Title}}
@@ -31,7 +31,7 @@
3131
{{end}}
3232
</div>
3333
{{else if and .Branch .DisplayBranch}}
34-
<div class="tw-flex tw-justify-between tw-items-center">
34+
<div class="tw-flex tw-justify-between tw-items-center tw-mt-2">
3535
<div class="tw-flex tw-left tw-items-center tw-overflow-hidden tw-max-w-full">
3636
{{svg "octicon-git-branch" 14 "tw-mr-1"}}
3737
<a href="{{.Branch.Repo.Link}}/src/branch/{{.Branch.Name}}" data-tooltip-content="{{.BranchFullName}}" class="tw-overflow-hidden gt-ellipsis tw-whitespace-nowrap">
@@ -84,7 +84,7 @@
8484

8585
<div class="required field">
8686
<label for="source_branch_name">{{ctx.Locale.Tr "repo.issues.base_branch"}}</label>
87-
<div class="ui selection dropdown">
87+
<div class="ui selection owner dropdown">
8888
<input type="hidden" id="source_branch_name" name="source_branch_name" value="{{.Issue.Repo.DefaultBranch}}" required>
8989
<span class="text truncated-item-container" data-value="{{.Issue.Repo.DefaultBranch}}" title="{{.Issue.Repo.DefaultBranch}}">
9090
<span class="truncated-item-name">{{.Issue.Repo.DefaultBranch}}</span>

0 commit comments

Comments
 (0)