diff options
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/commits.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/home.tmpl | 8 | ||||
-rw-r--r-- | templates/repo/wiki/view.tmpl | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl index 1647d69597..3400dbd251 100644 --- a/templates/repo/commits.tmpl +++ b/templates/repo/commits.tmpl @@ -3,7 +3,7 @@ {{template "repo/header" .}} <div class="ui container"> {{template "repo/sub_menu" .}} - <div class="repo-button-row gt-df gt-ac gt-sb gt-fw gt-mb-4 gt-mt-3"> + <div class="repo-button-row"> <div class="gt-df gt-ac"> {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "gt-mr-2"}} <a href="{{.RepoLink}}/graph" class="ui basic small compact button"> diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index a679de5027..a983de5a48 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -61,7 +61,7 @@ </div> {{end}} {{template "repo/sub_menu" .}} - <div class="repo-button-row gt-df gt-ac gt-sb gt-fw"> + <div class="repo-button-row"> <div class="gt-df gt-ac gt-fw gt-gap-y-3"> {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "gt-mr-2"}} {{if and .CanCompareOrPull .IsViewBranch (not .Repository.IsArchived)}} @@ -84,8 +84,9 @@ {{end}} {{if and .CanWriteCode .IsViewBranch (not .Repository.IsArchived)}} - <button class="ui basic compact dropdown jump icon button gt-mr-2"{{if not .Repository.CanEnableEditor}} disabled{{end}}> - <span class="text">{{.locale.Tr "repo.editor.add_file"}}</span> + <button class="ui dropdown basic compact jump button gt-mr-2"{{if not .Repository.CanEnableEditor}} disabled{{end}}> + {{.locale.Tr "repo.editor.add_file"}} + {{svg "octicon-triangle-down" 14 "dropdown icon"}} <div class="menu"> <a class="item" href="{{.RepoLink}}/_new/{{.BranchName | PathEscapeSegments}}/{{.TreePath | PathEscapeSegments}}"> {{.locale.Tr "repo.editor.new_file"}} @@ -99,7 +100,6 @@ {{.locale.Tr "repo.editor.patch"}} </a> </div> - {{svg "octicon-triangle-down" 14 "dropdown icon"}} </button> {{end}} diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index 370109caa4..ee9a3b2142 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -3,7 +3,7 @@ {{template "repo/header" .}} {{$title := .title}} <div class="ui container"> - <div class="repo-button-row gt-df gt-ac gt-sb gt-fw"> + <div class="repo-button-row"> <div class="gt-df gt-ac"> <div class="ui floating filter dropdown" data-no-results="{{.locale.Tr "repo.pulls.no_results"}}"> <div class="ui basic small button"> |