]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4819 clearing floated images in the content area
authorcash <cash.costello@gmail.com>
Sat, 6 Jul 2013 02:05:11 +0000 (22:05 -0400)
committercash <cash.costello@gmail.com>
Sat, 6 Jul 2013 02:05:11 +0000 (22:05 -0400)
mod/groups/views/default/object/groupforumtopic.php
views/default/object/elements/full.php

index 34e0ee3cc03d5c0d58af439e48712f04a109a562..e6988d16e67e5fc9c165ae3f3010c7093cd9c1ad 100644 (file)
@@ -73,7 +73,10 @@ if ($full) {
 
        $info = elgg_view_image_block($poster_icon, $list_body);
 
-       $body = elgg_view('output/longtext', array('value' => $topic->description));
+       $body = elgg_view('output/longtext', array(
+               'value' => $topic->description,
+               'class' => 'clearfix',
+       ));
 
        echo <<<HTML
 $info
index 9b89f970677892cbd5a972d82bd90fdc11b93360..b4634fe7e239cbde49faf4de731ce47a6da7f049 100644 (file)
@@ -22,9 +22,9 @@ $summary = elgg_extract('summary', $vars);
 $body = elgg_extract('body', $vars);
 $class = elgg_extract('class', $vars);
 if ($class) {
-       $class = "elgg-content $class";
+       $class = "elgg-content clearfix $class";
 } else {
-       $class = "elgg-content";
+       $class = "elgg-content clearfix";
 }
 
 $header = elgg_view_image_block($icon, $summary);