aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-28 12:11:38 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-28 12:11:38 +0000
commitcc1ee0f20af66ae245f4351313a789e7e4734def (patch)
treebcd50ef4de1c18ebd4c73958399b7e2bf383719f
parentf1b781b402fe8b0d4ce6044c97bb687fd017111e (diff)
downloadelgg-cc1ee0f20af66ae245f4351313a789e7e4734def.tar.gz
elgg-cc1ee0f20af66ae245f4351313a789e7e4734def.tar.bz2
Updated the layout of a blogpost
git-svn-id: http://code.elgg.org/elgg/trunk@6576 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/blog/views/default/blog/css.php11
-rw-r--r--mod/blog/views/default/object/blog.php4
2 files changed, 9 insertions, 6 deletions
diff --git a/mod/blog/views/default/blog/css.php b/mod/blog/views/default/blog/css.php
index 930fff7b3..23512c588 100644
--- a/mod/blog/views/default/blog/css.php
+++ b/mod/blog/views/default/blog/css.php
@@ -18,12 +18,13 @@
.blogpost .entity_listing_info {
margin-top:4px;
}
-.blogpost .body {
- margin-top:5px;
- margin-bottom:10px;
- display:block;
+.blog_post {
+ border-top:1px solid #CCCCCC;
+ margin:10px 0 0;
+ padding-bottom:40px;
+ padding-top:10px;
}
-.blogpost .body p {
+.blog_post p {
line-height: 1.4em;
padding-bottom:12px;
}
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 3b63a661e..5f238cdc1 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -83,6 +83,7 @@ echo <<<___END
<div id="content_header" class="clearfloat">
<div class="content_header_title"><h2>{$blog->title}</h2></div>
</div>
+ <div class="clearfloat">
<div class="entity_listing_icon">
$owner_icon
</div>
@@ -95,8 +96,9 @@ echo <<<___END
$comments_link
</p>
$tags
- <span class="body">$body</span>
</div>
+ </div>
+ <div class='blog_post'>$body</div>
</div>
___END;