[BUGFIX] Gap between module menu items causes collapse on click
authorKay Strobach <typo3@kay-strobach.de>
Sat, 25 Jun 2011 10:52:05 +0000 (12:52 +0200)
committerGeorg Ringer <mail@ringerge.org>
Wed, 7 Dec 2011 08:22:07 +0000 (09:22 +0100)
Transform the margins between entries in the module menu into paddings
to avoid that clicks on this margin cause collapsing of the menu
section.

Change-Id: Ife437730988287ca847c589edfc9b98a9bc677a6
Resolves: #27634
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/7126
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/t3skin/stylesheets/structure/module_menu.css

index e7ebf0d..0b783cd 100644 (file)
@@ -19,11 +19,14 @@ $Id$
 
 #typo3-menu li {
        clear: both;
-       margin-bottom: 1px;
+       padding-bottom: 1px;
+       margin-bottom: 0;
 }
 
 #typo3-menu li a {
        display: block;
+       padding-bottom: 1px;
+       margin-bottom: 0;
 }
 
 #typo3-menu li img {