diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 1e82d97944..69eaf17429 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -74,7 +74,7 @@ <button id="new-pull-request" class="ui compact basic button tooltip" data-content="{{if .PullRequestCtx.Allowed}}{{.locale.Tr "repo.pulls.compare_changes"}}{{else}}{{.locale.Tr "action.compare_branch"}}{{end}}"><span class="text">{{svg "octicon-git-pull-request"}}</span></button> </a> {{end}} - <a href="{{.Repository.Link}}/find/{{.BranchNameSubURL}}" class="ui compact basic button tooltip" data-content="{{.locale.Tr "repo.find_file.go_to_file"}}">{{svg "octicon-file-moved" 15}}</a> + <a href="{{.Repository.Link}}/find/{{.BranchNameSubURL}}" class="ui compact basic button">{{.locale.Tr "repo.find_file.go_to_file"}}</a> {{end}} {{if or .CanAddFile .CanUploadFile}} <button class="ui basic small compact dropdown jump icon button mr-2"{{if not .Repository.CanEnableEditor}} disabled{{end}}> diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 5dee3fccdd..bd007196d4 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -2804,6 +2804,11 @@ margin-top: 10px; } +.repo-button-row .dropdown > .dropdown.icon { + margin-left: .25rem !important; + margin-right: 0 !important; +} + .wiki .repo-button-row { margin-bottom: 0; }