Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 0a1a7b16 rédigé par Steffen van Bergerem's avatar Steffen van Bergerem
Parcourir les fichiers

Merge pull request #6983 from AugierLe42e/fix-mobile-photo-page-avatar

Fixes the avatar on mobile multiphoto page
parents 34e3fb2e 8a3f0778
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -278,7 +278,7 @@ footer {
font-size: larger;
text-align: center;
img {
img:not(.avatar) {
max-width: 100%;
}
......
......@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter