Merge pull request #6983 from AugierLe42e/fix-mobile-photo-page-avatar
Fixes the avatar on mobile multiphoto page
This commit is contained in:
commit
0a1a7b167f
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,8 +10,10 @@
|
||||||
= 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_image_link(photo.author, class: "media-object", size: :thumb_small)
|
||||||
|
.media-body
|
||||||
= person_link(photo.author)
|
= person_link(photo.author)
|
||||||
.info
|
.info
|
||||||
%span
|
%span
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue