summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-09 17:00:48 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-09 17:00:48 +0000
commit608a7275167225d03e3a4556ecbd32b6f5602d66 (patch)
tree0bb74fbc6c209f374720eaaf2731d847c687afc1
parente426c027b0a2a3aa0dea1d833008f2bfd814f483 (diff)
parentf7ff146aaac158ce2099583af5d5620204ec9b93 (diff)
downloadgitlab-ce-608a7275167225d03e3a4556ecbd32b6f5602d66.tar.gz
Merge branch 'buttons-size' into 'master'
Fix size of disabled 'New file' button Before: ![Screen_Shot_2015-12-09_at_13.52.30](/uploads/d3d5dce9b5fcb5a4292177acba323d17/Screen_Shot_2015-12-09_at_13.52.30.png) After: ![Screen_Shot_2015-12-09_at_13.52.20](/uploads/a813fb817cfd4bff6b17fad34e79f3b1/Screen_Shot_2015-12-09_at_13.52.20.png) See merge request !2040
-rw-r--r--app/views/projects/tree/_tree_header.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_tree_header.html.haml b/app/views/projects/tree/_tree_header.html.haml
index 0e1f7076608..cefe33e581f 100644
--- a/app/views/projects/tree/_tree_header.html.haml
+++ b/app/views/projects/tree/_tree_header.html.haml
@@ -32,5 +32,5 @@
New directory
- elsif !on_top_of_branch?
%li
- %span.btn.add-to-tree.disabled.has_tooltip{title: "You can only add files when you are on a branch.", data: {container: 'body'}}
+ %span.btn.btn-sm.add-to-tree.disabled.has_tooltip{title: "You can only add files when you are on a branch.", data: {container: 'body'}}
= icon('plus')