Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Milan
diaspora
Commits
0a1a7b16
Unverified
Commit
0a1a7b16
authored
Aug 18, 2016
by
Steffen van Bergerem
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6983 from AugierLe42e/fix-mobile-photo-page-avatar
Fixes the avatar on mobile multiphoto page
parents
34e3fb2e
8a3f0778
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
app/assets/stylesheets/mobile/mobile.scss
app/assets/stylesheets/mobile/mobile.scss
+1
-1
app/views/photos/show.mobile.haml
app/views/photos/show.mobile.haml
+9
-7
No files found.
app/assets/stylesheets/mobile/mobile.scss
View file @
0a1a7b16
...
...
@@ -278,7 +278,7 @@ footer {
font-size
:
larger
;
text-align
:
center
;
img
{
img
:not
(
.avatar
)
{
max-width
:
100%
;
}
...
...
app/views/photos/show.mobile.haml
View file @
0a1a7b16
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment