[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)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Tue, 12 Jul 2011 15:52:51 +0000 (17:52 +0200)
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: Id2b75826c91f84904b52567a5e31e240288018fd
Resolves: #27634
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/2925
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Tested-by: Georg Ringer
Reviewed-by: Georg Ringer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
typo3/sysext/t3skin/stylesheets/structure/module_menu.css

index 55c925b..380462d 100644 (file)
@@ -18,11 +18,14 @@ Module menu
 
 #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 {