added some spacing between photos and text on stream
This commit is contained in:
parent
cdbd9df15e
commit
c7ac90538a
2 changed files with 16 additions and 19 deletions
|
|
@ -2,7 +2,11 @@
|
||||||
-# licensed under the Affero General Public License version 3 or later. See
|
-# licensed under the Affero General Public License version 3 or later. See
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
= markdownify(post.message)
|
%p
|
||||||
%br
|
= markdownify(post.message)
|
||||||
- for photo in post.photos
|
|
||||||
= link_to (image_tag photo.url(:thumb_medium)), object_path(photo)
|
- 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
|
:weight normal
|
||||||
:size 14px
|
:size 14px
|
||||||
|
|
||||||
|
p
|
||||||
|
:margin
|
||||||
|
:bottom 0
|
||||||
|
|
||||||
|
.photo_attachments
|
||||||
|
:margin
|
||||||
|
:top 7px
|
||||||
|
|
||||||
.stream_photo
|
.stream_photo
|
||||||
:float left
|
:float left
|
||||||
:margin
|
:margin
|
||||||
|
|
@ -1934,19 +1942,4 @@ h3,h4
|
||||||
:-webkit-border-radius 5px
|
:-webkit-border-radius 5px
|
||||||
:-moz-border-radius 5px
|
:-moz-border-radius 5px
|
||||||
: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
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue