From feb06b06a6c4267b52394d6345c31e4fc94d8479 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 1 Mar 2011 05:43:13 +0000 Subject: core/likes/display uses image-block component. ensures that the like icon is even with the "x users liked this" text. Wondering if we should split the two up entirely. git-svn-id: http://code.elgg.org/elgg/trunk@8528 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/core/likes/display.php | 3 +-- views/default/css/elements/navigation.php | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/default/core/likes/display.php b/views/default/core/likes/display.php index bb6048d61..014796928 100644 --- a/views/default/core/likes/display.php +++ b/views/default/core/likes/display.php @@ -62,5 +62,4 @@ if ($num_of_likes) { $list .= ""; } -echo $likes_button; -echo $list; +echo elgg_view_image_block($likes_button, $list); \ No newline at end of file diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index d7c225d8a..c1a6b019b 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -398,6 +398,11 @@ color: #aaa; } +/* Ick. Allows the horizontal menu to hold image blocks without breaking */ +.elgg-menu-metadata .elgg-body:after { + content: '.'; +} + /* *************************************** TITLE *************************************** */ -- cgit v1.2.3