aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/commits.tmpl4
-rw-r--r--templates/repo/home.tmpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl
index e6efe1ff54..6bce585774 100644
--- a/templates/repo/commits.tmpl
+++ b/templates/repo/commits.tmpl
@@ -4,8 +4,8 @@
<div class="ui container">
{{template "repo/sub_menu" .}}
<div class="repo-button-row">
- <div class="tw-flex tw-items-center">
- {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "tw-mr-1"}}
+ <div class="repo-button-row-left">
+ {{template "repo/branch_dropdown" dict "root" .}}
<a href="{{.RepoLink}}/graph" class="ui basic small compact button">
{{svg "octicon-git-branch"}}
{{ctx.Locale.Tr "repo.commit_graph"}}
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 0a8391b553..12c4a17234 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -47,7 +47,7 @@
{{$isHomepage := (eq $n 0)}}
<div class="repo-button-row" data-is-homepage="{{$isHomepage}}">
<div class="repo-button-row-left">
- {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "tw-mr-1"}}
+ {{template "repo/branch_dropdown" dict "root" .}}
{{if and .CanCompareOrPull .IsViewBranch (not .Repository.IsArchived)}}
{{$cmpBranch := ""}}
{{if ne .Repository.ID .BaseRepo.ID}}