Commit 216704f31a30c61fc6a627d94396a6dacfed456e
Exists in
spb-stable
and in
2 other branches
Merge branch 'mobile-ui-improvements' into 'master'
Mobile ui improvements * Fixes blob view - https://twitter.com/jamesgecko/status/466675058664951808 * Hide project sidebar for xs * Hide group activity for xs
Showing
3 changed files
with
5 additions
and
5 deletions
Show diff stats
app/views/groups/show.html.haml
app/views/projects/blob/_blob.html.haml
... | ... | @@ -15,18 +15,18 @@ |
15 | 15 | - else |
16 | 16 | = link_to title, '#' |
17 | 17 | |
18 | -%ul.blob-commit-info.bs-callout.bs-callout-info | |
18 | +%ul.blob-commit-info.bs-callout.bs-callout-info.hidden-xs | |
19 | 19 | - blob_commit = @repository.last_commit_for_path(@commit.id, @blob.path) |
20 | 20 | = render blob_commit, project: @project |
21 | 21 | |
22 | 22 | %div#tree-content-holder.tree-content-holder |
23 | 23 | .file-holder |
24 | - .file-title | |
24 | + .file-title.clearfix | |
25 | 25 | %i.icon-file |
26 | 26 | %span.file_name |
27 | 27 | = blob.name |
28 | 28 | %small= number_to_human_size blob.size |
29 | - %span.options= render "actions" | |
29 | + %span.options.hidden-xs= render "actions" | |
30 | 30 | - if blob.text? |
31 | 31 | = render "text", blob: blob |
32 | 32 | - elsif blob.image? | ... | ... |
app/views/projects/show.html.haml