RT# 81706 CSS arrow placement fix for Mozilla
authorMitch Jackson <mitch@freeside.biz>
Sat, 30 Mar 2019 19:00:03 +0000 (15:00 -0400)
committerMitch Jackson <mitch@freeside.biz>
Sat, 30 Mar 2019 19:00:03 +0000 (15:00 -0400)
httemplate/elements/dropdown-menu.html

index 3c0f40f..c8e9961 100644 (file)
   background-image: url("<% $p %>images/arrow.right.black.png");
   width: 3px;
   height: 6px;
-  margin-top:4px;
+  margin-top:5px;
 }
 
-/* Firefox hack
-@-moz-document url-prefix() {
-  #<% $opt{id} %> a .arrow {
-    margin-top:-.8em;
-  }
-}
-*/
-
 </style>
 
 <ul id="<% $opt{id} %>">
@@ -195,8 +187,9 @@ sub entry2link {
 
     if ( $entry->{submenu} ) {
 
-      my $a = '<a href="javascript:void(0);">'. $label.
+      my $a = '<a href="javascript:void(0);">'.
               '<span class="arrow"></span>'.
+              $label.
               '</a><ul class="customer_subsubmenu">';
       foreach my $submenu (@{ $entry->{submenu} }) {
         $a .= '<li>'. entry2link($submenu, $opt->{cust_main}, $opt->{show}), '</li>';