From 9e4ec347cfc34f89fb5860280dd1134fe346ae3c Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Tue, 3 Jan 2017 21:42:52 -0500 Subject: [PATCH] Show full-size notice with 0 messages to fill in space --- css/mods-for-hesk-new.css | 9 ++++++++- inc/show_admin_nav.inc.php | 16 +++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/css/mods-for-hesk-new.css b/css/mods-for-hesk-new.css index 3ac64e14..3e190849 100644 --- a/css/mods-for-hesk-new.css +++ b/css/mods-for-hesk-new.css @@ -104,8 +104,15 @@ margin-top: 10px; } +.dropdown-empty { + padding: 10%; + color: #ddd; + font-weight: bolder; +} + -.attachment-table > tbody > tr > td > i { +.attachment-table > tbody > tr > td > i, +.dropdown-empty > i { color: #ddd; text-shadow: 2px 2px #ccc; } diff --git a/inc/show_admin_nav.inc.php b/inc/show_admin_nav.inc.php index d387cf36..4860c2a2 100644 --- a/inc/show_admin_nav.inc.php +++ b/inc/show_admin_nav.inc.php @@ -204,16 +204,30 @@ $mails = mfh_get_mail_headers_for_dropdown($_SESSION['id'], $hesk_settings, $hes