From 6c193d396ad0a9c690e19bb22fac0744ba66bde3 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 24 Feb 2010 12:50:05 +1300 Subject: [PATCH] Move location of CSS submenus slightly. There seems to be a 1 pixel difference in Chrome's rendering of the submenus, so moving them up means the mouse cursor is always over a hover element while moving from the top menu to be over the submenu. --- htdocs/davical.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/davical.css b/htdocs/davical.css index 7d54e5f9..e4f184c7 100644 --- a/htdocs/davical.css +++ b/htdocs/davical.css @@ -319,7 +319,7 @@ border-bottom:1px solid white; position:absolute; text-decoration:none; height:0; - top:1.4em; + top:1.2em; left:0; } @@ -332,7 +332,7 @@ border-bottom:1px solid white; border-bottom: 1px solid #cccccc; height:auto; line-height:1em; - padding:0.2em 0.3em; + padding:0.2em 0 0.2em 1em; width:12em; }