summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/_blob.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-13 19:20:25 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-13 19:20:25 -0700
commit2da2720584e162c53436a046380740bd64c3ad24 (patch)
tree7608f1eb08ae5b4e84571257b5f2a8b95cbc1273 /app/views/projects/blob/_blob.html.haml
parent3aded9d5816b8605d5ccf486ab2e38247e2b654f (diff)
downloadgitlab-ce-2da2720584e162c53436a046380740bd64c3ad24.tar.gz
Improve css for file actions
Diffstat (limited to 'app/views/projects/blob/_blob.html.haml')
-rw-r--r--app/views/projects/blob/_blob.html.haml10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/projects/blob/_blob.html.haml b/app/views/projects/blob/_blob.html.haml
index 9ff61f3887f..ba60bd92869 100644
--- a/app/views/projects/blob/_blob.html.haml
+++ b/app/views/projects/blob/_blob.html.haml
@@ -21,12 +21,14 @@
%div#tree-content-holder.tree-content-holder
%article.file-holder
- .file-title.clearfix
+ .file-title
%i.fa.fa-file
- %span.file_name
+ %strong
= blob.name
- %small= number_to_human_size blob.size
- %span.options.hidden-xs= render "actions"
+ %small
+ = number_to_human_size(blob.size)
+ .file-actions.hidden-xs
+ = render "actions"
- if blob.text?
= render "text", blob: blob
- elsif blob.image?