From b63b88ffca09e38a88b98bd2be4e29379567e4f1 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 3 Apr 2011 01:51:18 +0000 Subject: Fixes #3184 fixed alignment issues for entity menu git-svn-id: http://code.elgg.org/elgg/trunk@8922 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/elements/navigation.php | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'views/default/css/elements') diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index c86fc3320..c71935668 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -105,19 +105,13 @@ /* Maximize click target */ .elgg-menu > li > a { display: block -} - -/* Image placement correction */ -.elgg-menu img, -.elgg-menu .elgg-icon { - vertical-align: middle; - margin-top: -2px; -} +} /* Horizontal menus w/ separator support */ .elgg-menu-hz > li, .elgg-menu-hz > li:after, -.elgg-menu-hz > li > a { +.elgg-menu-hz > li > a, +.elgg-menu-hz > li > span { display: inline-block; vertical-align: middle; } @@ -174,7 +168,10 @@ padding: 2px 15px; color: #eee; margin-top: 2px; - line-height: 1.1em; +} + +.elgg-menu-topbar > li > a > span { + vertical-align: middle; } .elgg-menu-topbar > li > a:hover { -- cgit v1.2.3