From 04ab427c9a782cd4e767bd0eeebc6e9d2ff78c13 Mon Sep 17 00:00:00 2001 From: Nao Date: Tue, 27 May 2014 00:06:41 +0200 Subject: [PATCH] * Adjustements for the menu icon rewrites... Oh my, I really need to make this simpler...!!!!!!!!111111 (calendar/CalendarMenu.php) Signed-off-by: Nao --- calendar/CalendarMenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/CalendarMenu.php b/calendar/CalendarMenu.php index ab97dae..f0cc9ca 100644 --- a/calendar/CalendarMenu.php +++ b/calendar/CalendarMenu.php @@ -41,7 +41,7 @@ function calendarMenu(&$items) // An array_merge on $items['home']['items'] would be simpler, but I wanted to show off. $items = array_insert($items, 'home items media', $menu_item, true); - add_css('#m_' . (SKIN_SHORTMENU ? 'home_' : '') . 'calendar { float: left; width: 16px; height: 16px; padding: 0; margin: ' . (SKIN_SHORTMENU ? '6px 4px 0 12px' : '4px 4px 0 2px') . '; background: url(' . $context['plugins_url']['Wedge:Calendar'] . '/img/calendar.gif) 0 2px no-repeat; }'); + add_css('#m_' . (SKIN_SHORTMENU ? 'home_' : '') . 'calendar { display: inline-block; width: 16px; height: 16px; padding: 0; margin: ' . (SKIN_SHORTMENU ? '-2px 0 0 8px; vertical-align: middle' : '4px 4px 0 2px') . '; background: url(' . $context['plugins_url']['Wedge:Calendar'] . '/img/calendar.gif) 0 2px no-repeat; }'); } // Remove these permissions if post-banned.