aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-07-05 22:05:11 -0400
committercash <cash.costello@gmail.com>2013-07-05 22:05:11 -0400
commit094b8f3afc75dac6520ea58d4e014b0e7f77d62a (patch)
tree75ac9c878e5104ac4da1bae02a21a4bcde16fac0
parent802b73ade2efe405fb0ba695dc37679002fd1c1c (diff)
downloadelgg-094b8f3afc75dac6520ea58d4e014b0e7f77d62a.tar.gz
elgg-094b8f3afc75dac6520ea58d4e014b0e7f77d62a.tar.bz2
Fixes #4819 clearing floated images in the content area
-rw-r--r--mod/groups/views/default/object/groupforumtopic.php5
-rw-r--r--views/default/object/elements/full.php4
2 files changed, 6 insertions, 3 deletions
diff --git a/mod/groups/views/default/object/groupforumtopic.php b/mod/groups/views/default/object/groupforumtopic.php
index 34e0ee3cc..e6988d16e 100644
--- a/mod/groups/views/default/object/groupforumtopic.php
+++ b/mod/groups/views/default/object/groupforumtopic.php
@@ -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
diff --git a/views/default/object/elements/full.php b/views/default/object/elements/full.php
index 9b89f9706..b4634fe7e 100644
--- a/views/default/object/elements/full.php
+++ b/views/default/object/elements/full.php
@@ -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);