From aeee52fb2992b060b80ec58a4da5216bf426993e Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 26 Mar 2011 23:29:27 +0000 Subject: forcing a min-height on inbox list in messages plugin git-svn-id: http://code.elgg.org/elgg/trunk@8861 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messages/views/default/forms/messages/process.php | 9 ++++++++- mod/messages/views/default/messages/css.php | 4 +++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'mod/messages/views') diff --git a/mod/messages/views/default/forms/messages/process.php b/mod/messages/views/default/forms/messages/process.php index 8eab26297..01fe0f431 100644 --- a/mod/messages/views/default/forms/messages/process.php +++ b/mod/messages/views/default/forms/messages/process.php @@ -8,7 +8,14 @@ * */ -echo $vars['list']; +$messages = $vars['list']; +if (!$messages) { + $messages = elgg_echo('messages:nomessages'); +} + +echo '
'; +echo $messages; +echo '
'; echo '
'; echo elgg_view('input/submit', array( diff --git a/mod/messages/views/default/messages/css.php b/mod/messages/views/default/messages/css.php index 6f2e532e4..95f911451 100644 --- a/mod/messages/views/default/messages/css.php +++ b/mod/messages/views/default/messages/css.php @@ -6,7 +6,9 @@ */ ?> - +.messages-container { + min-height: 200px; +} .message.unread a { color: #d40005; } -- cgit v1.2.3