]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixed the float issue with the friends river view
authorCash Costello <cash.costello@gmail.com>
Thu, 7 Jul 2011 10:32:36 +0000 (06:32 -0400)
committerCash Costello <cash.costello@gmail.com>
Thu, 7 Jul 2011 10:32:36 +0000 (06:32 -0400)
views/default/css/elements/components.php
views/default/river/elements/body.php
views/default/river/relationship/friend/create.php

index 3f30a6422fb816e3187149a0593a2a8cecaff837..4a09ca74ecbe6af83f6a6d4b7dbeff8670d035a8 100644 (file)
        margin: 8px 0 5px 0;
        padding-left: 5px;
 }
-
-<?php //@todo location-dependent styles ?>
-.elgg-river-content .elgg-avatar {
+.elgg-river-attachments .elgg-avatar,
+.elgg-river-attachments .elgg-icon {
        float: left;
 }
 .elgg-river-layout .elgg-input-dropdown {
index f7a9d242602994628d2a1bb11ef796b477f85105..c5a525733ead27155e6eff562f7cfc98870b15ff 100644 (file)
@@ -37,7 +37,7 @@ if ($message !== false) {
 
 $attachments = elgg_extract('attachments', $vars, false);
 if ($attachments !== false) {
-       $attachments = "<div class=\"elgg-river-attachments\">$attachments</div>";
+       $attachments = "<div class=\"elgg-river-attachments clearfix\">$attachments</div>";
 }
 
 $responses = elgg_view('river/elements/responses', $vars);
index f3f4a9b14758620e420a3463fb8d1ae7e1d20122..a191e7b1e0cd5b38cb6da9ac26732a31918eee98 100644 (file)
@@ -10,5 +10,5 @@ $object_icon = elgg_view_entity_icon($object, 'tiny');
 
 echo elgg_view('river/item', array(
        'item' => $vars['item'],
-       'attachments' => $subject_icon . elgg_view_icon('arrow-right', true) . $object_icon,
+       'attachments' => $subject_icon . elgg_view_icon('arrow-right') . $object_icon,
 ));