summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2019-03-30 15:00:03 -0400
committerMitch Jackson <mitch@freeside.biz>2019-03-30 15:13:14 -0400
commit0fa8dce1fee830dcf0357ed6b006d64a936ac718 (patch)
treed22e084ec35e51d0494d0b65aae21c2a37bcd133
parentba0afcb2c51e2aaa5b0c7d52c7e04e13c965c15b (diff)
RT# 81706 CSS arrow placement fix for Mozilla
-rw-r--r--httemplate/elements/dropdown-menu.html13
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>';