diff options
author | Steffen van Bergerem <svbergerem@online.de> | 2016-08-18 12:22:29 +0300 |
---|---|---|
committer | Steffen van Bergerem <svbergerem@online.de> | 2016-08-18 12:22:29 +0300 |
commit | 0a1a7b167f3ccbcb743c047e2659b82a33743fdb (patch) | |
tree | edb3a0f22169ec40f9aaf001e377facabdabe4ee /app/views | |
parent | 34e3fb2e142f2ab19e770e44b88daaea962a9da6 (diff) | |
parent | 8a3f0778f5fec793f698cee7883d381d3ea5ba1a (diff) |
Merge pull request #6983 from AugierLe42e/fix-mobile-photo-page-avatar
Fixes the avatar on mobile multiphoto page
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/photos/show.mobile.haml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/app/views/photos/show.mobile.haml b/app/views/photos/show.mobile.haml index 6082e8edc..9428f9ec3 100644 --- a/app/views/photos/show.mobile.haml +++ b/app/views/photos/show.mobile.haml @@ -10,13 +10,15 @@ = image_tag photo.url(:scaled_full) .stream_element{:class => "photo_mobile"} .content - .from - = person_image_link(photo.author, :size => :thumb_small) - = person_link(photo.author) - .info - %span - = link_to(post_path(photo)) do - = timeago(photo.created_at) + .from.media + .media-left + = person_image_link(photo.author, class: "media-object", size: :thumb_small) + .media-body + = person_link(photo.author) + .info + %span + = link_to(post_path(photo)) do + = timeago(photo.created_at) -if additional_photos && additional_photos.length > 1 #photo_controls |