]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updated the layout of a blogpost
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 28 Jun 2010 12:11:38 +0000 (12:11 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 28 Jun 2010 12:11:38 +0000 (12:11 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6576 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/blog/views/default/blog/css.php
mod/blog/views/default/object/blog.php

index 930fff7b37c9374cf1be6a5d892d85ddcd740f17..23512c5880ba0e3b56b86d0fac5ade4623c5d403 100644 (file)
 .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;
 }
index 3b63a661ec7ef96aa88ca0232c92bca1798a7644..5f238cdc1c287f3d567f96f71829d30c13635531 100644 (file)
@@ -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;