Fixes the avatar display on mobile the photo page
This commit is contained in:
parent
4afa77b003
commit
8a3f0778f5
2 changed files with 10 additions and 8 deletions
|
|
@ -278,7 +278,7 @@ footer {
|
||||||
font-size: larger;
|
font-size: larger;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
img {
|
img:not(.avatar) {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,13 +10,15 @@
|
||||||
= image_tag photo.url(:scaled_full)
|
= image_tag photo.url(:scaled_full)
|
||||||
.stream_element{:class => "photo_mobile"}
|
.stream_element{:class => "photo_mobile"}
|
||||||
.content
|
.content
|
||||||
.from
|
.from.media
|
||||||
= person_image_link(photo.author, :size => :thumb_small)
|
.media-left
|
||||||
= person_link(photo.author)
|
= person_image_link(photo.author, class: "media-object", size: :thumb_small)
|
||||||
.info
|
.media-body
|
||||||
%span
|
= person_link(photo.author)
|
||||||
= link_to(post_path(photo)) do
|
.info
|
||||||
= timeago(photo.created_at)
|
%span
|
||||||
|
= link_to(post_path(photo)) do
|
||||||
|
= timeago(photo.created_at)
|
||||||
|
|
||||||
-if additional_photos && additional_photos.length > 1
|
-if additional_photos && additional_photos.length > 1
|
||||||
#photo_controls
|
#photo_controls
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue