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
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
= markdownify(post.message)
|
||||
%br
|
||||
- for photo in post.photos
|
||||
%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
|
||||
|
|
|
|||
Loading…
Reference in a new issue