aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-07-07 06:32:36 -0400
committerCash Costello <cash.costello@gmail.com>2011-07-07 06:32:36 -0400
commit7ebbba7b47fef2d6fbd0256fa9508685a18289a1 (patch)
tree98ed171d1547caea0443d59d38974a67c8b85d18
parente0adc47f6b0c2fa37effbfcf7a28487a6fde9ef6 (diff)
downloadelgg-7ebbba7b47fef2d6fbd0256fa9508685a18289a1.tar.gz
elgg-7ebbba7b47fef2d6fbd0256fa9508685a18289a1.tar.bz2
fixed the float issue with the friends river view
-rw-r--r--views/default/css/elements/components.php5
-rw-r--r--views/default/river/elements/body.php2
-rw-r--r--views/default/river/relationship/friend/create.php2
3 files changed, 4 insertions, 5 deletions
diff --git a/views/default/css/elements/components.php b/views/default/css/elements/components.php
index 3f30a6422..4a09ca74e 100644
--- a/views/default/css/elements/components.php
+++ b/views/default/css/elements/components.php
@@ -174,9 +174,8 @@
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 {
diff --git a/views/default/river/elements/body.php b/views/default/river/elements/body.php
index f7a9d2426..c5a525733 100644
--- a/views/default/river/elements/body.php
+++ b/views/default/river/elements/body.php
@@ -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);
diff --git a/views/default/river/relationship/friend/create.php b/views/default/river/relationship/friend/create.php
index f3f4a9b14..a191e7b1e 100644
--- a/views/default/river/relationship/friend/create.php
+++ b/views/default/river/relationship/friend/create.php
@@ -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,
));