diff options
author | Mitch Jackson <mitch@freeside.biz> | 2019-03-30 15:00:03 -0400 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2019-03-30 15:00:03 -0400 |
commit | 15af7d37742ff7511004dafc5f6190cb1f19540a (patch) | |
tree | f36eb1eb2bc570d2b249f1643f2b38893f6daef5 | |
parent | 8a16e8aa94e23ad44c0d4d9713ca009913f15b5b (diff) |
RT# 81706 CSS arrow placement fix for Mozilla
-rw-r--r-- | httemplate/elements/dropdown-menu.html | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/httemplate/elements/dropdown-menu.html b/httemplate/elements/dropdown-menu.html index 3c0f40f75..c8e996133 100644 --- a/httemplate/elements/dropdown-menu.html +++ b/httemplate/elements/dropdown-menu.html @@ -92,17 +92,9 @@ 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>'; |