Commit c7ac9053 authored by danielvincent's avatar danielvincent

added some spacing between photos and text on stream

parent cdbd9df1
......@@ -2,7 +2,11 @@
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
= markdownify(post.message)
%br
- for photo in post.photos
= link_to (image_tag photo.url(:thumb_medium)), object_path(photo)
%p
= markdownify(post.message)
- if post.photos.count > 0
.photo_attachments
- for photo in post.photos
= link_to (image_tag photo.url(:thumb_medium)), object_path(photo)
......@@ -349,6 +349,14 @@ li.message
:weight normal
:size 14px
p
:margin
:bottom 0
.photo_attachments
:margin
:top 7px
.stream_photo
:float left
:margin
......@@ -1934,19 +1942,4 @@ h3,h4
:-webkit-border-radius 5px
:-moz-border-radius 5px
:border-radius 5px
#why
:margin
:bottom 30px
p
:text-align justify
:padding 1em
#info_links
:margin
:top 30px
h3
:border #eee 4px solid
:border-radius 5px
:background-color #ddd
:padding 5px
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment