summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-06-21 14:27:20 +0300
committerValery Sizov <valery@gitlab.com>2016-06-21 14:27:20 +0300
commitc6b4106401a2b89b3525571287b404728d824f18 (patch)
tree74530b7adf13d1a646f7c3a462ebb55501d097ae
parentbb4a1ef6c1ed4d367e6126ad64033e0286da6f15 (diff)
downloadgitlab-ce-c6b4106401a2b89b3525571287b404728d824f18.tar.gz
Fix on-hover state for 'Edit' button on tree view
-rw-r--r--app/helpers/blob_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb
index 5b54b34070c..a7186f2b2c2 100644
--- a/app/helpers/blob_helper.rb
+++ b/app/helpers/blob_helper.rb
@@ -29,7 +29,7 @@ module BlobHelper
if !on_top_of_branch?(project, ref)
button_tag "Edit", class: "btn disabled has-tooltip btn-file-option", title: "You can only edit files when you are on a branch", data: { container: 'body' }
elsif can_edit_blob?(blob, project, ref)
- link_to "Edit", edit_path, class: 'btn btn-file-option'
+ link_to "Edit", edit_path, class: 'btn btn-sm'
elsif can?(current_user, :fork_project, project)
continue_params = {
to: edit_path,