Commit b81e1a9e authored by cfoe's avatar cfoe
Browse files

changed topNav to min-width to accommodate longer lang strings for module names (FS#2308)

parent c513fa15
......@@ -159,13 +159,14 @@ header span {
padding-top:37px;
text-align:center;
text-decoration:none;
width:78px;
min-width:78px;
}
#topNav a:hover {
background-color: #eeeeee;
color: #000000;
}
#topNav #topNav_current a {
font-weight: bold;
color: black;
......@@ -185,7 +186,9 @@ header span {
.topnav-dashboard { background-position: 22px -1035px !important; }
.topnav-client { background-position: 22px -1098px !important; }
.topnav-billing { background-position: 22px -1162px !important; }
#topNav a span {
padding: 0 3px;
}
/* main
-------------------------------------------------------------- */
#main {
......
<ul id="topmenu">
<tmpl_loop name="nav_top">
<tmpl_if name="active">
<li id="topNav_current"><a href="#" class="topnav topnav-<tmpl_var name='module'>"><tmpl_var name="title"></a></li>
<li id="topNav_current"><a href="#" class="topnav topnav-<tmpl_var name='module'>"><span><tmpl_var name="title"></span></a></li>
<tmpl_else>
<li><a href="#" onClick="capp('<tmpl_var name='module'>')" class="topnav topnav-<tmpl_var name='module'>"><tmpl_var name="title"></a></li>
<li><a href="#" onClick="capp('<tmpl_var name='module'>')" class="topnav topnav-<tmpl_var name='module'>"><span><tmpl_var name="title"></span></a></li>
</tmpl_if>
</tmpl_loop>
</ul>
......@@ -38,14 +38,16 @@
padding-top:37px;
text-align:center;
text-decoration:none;
width:78px;
min-width:78px;
}
#topNav a:hover {
background-color: #eeeeee;
color: #000000;
}
#topNav a span {
padding: 0 3px;
}
#topNav #topNav_current {
}
......
<ul id="topmenu">
<tmpl_loop name="nav_top">
<tmpl_if name="active">
<li id="topNav_current"><a href="#" class="topnav topnav-<tmpl_var name='module'>"><tmpl_var name="title"></a></li>
<li id="topNav_current"><a href="#" class="topnav topnav-<tmpl_var name='module'>"><span><tmpl_var name="title"></span></a></li>
<tmpl_else>
<li><a href="#" onClick="capp('<tmpl_var name='module'>')" class="topnav topnav-<tmpl_var name='module'>"><tmpl_var name="title"></a></li>
<li><a href="#" onClick="capp('<tmpl_var name='module'>')" class="topnav topnav-<tmpl_var name='module'>"><span><tmpl_var name="title"></span></a></li>
</tmpl_if>
</tmpl_loop>
</ul>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment