fixed menu width
This commit is contained in:
parent
5ee8a052ac
commit
c63b03ff2f
|
@ -133,14 +133,14 @@ foreach ($toSort as $key => $value) {
|
||||||
echo '<li title="' . $tool->getDescription() . '">';
|
echo '<li title="' . $tool->getDescription() . '">';
|
||||||
$link = $headerPrefix . '/templates/' . $tool->getLink();
|
$link = $headerPrefix . '/templates/' . $tool->getLink();
|
||||||
echo '<a href="' . $link . "\">\n";
|
echo '<a href="' . $link . "\">\n";
|
||||||
echo '<img height="16" width="16" alt="" src="' . $headerPrefix . '/graphics/' . $tool->getImageLink() . '"> ' . $tool->getName();
|
echo '<img class="max16" height="16px" width="16px" alt="" src="' . $headerPrefix . '/graphics/' . $tool->getImageLink() . '"> ' . $tool->getName();
|
||||||
echo "</a>\n";
|
echo "</a>\n";
|
||||||
if (sizeof($subTools) > 0) {
|
if (sizeof($subTools) > 0) {
|
||||||
echo "<ul>\n";
|
echo "<ul>\n";
|
||||||
foreach ($subTools as $subTool) {
|
foreach ($subTools as $subTool) {
|
||||||
echo "<li title=\"" . $subTool->description . "\">\n";
|
echo "<li title=\"" . $subTool->description . "\">\n";
|
||||||
echo "<a href=\"" . $headerPrefix . '/templates/' . $subTool->link . "\">\n";
|
echo "<a href=\"" . $headerPrefix . '/templates/' . $subTool->link . "\">\n";
|
||||||
echo '<img width=16 height=16 alt="" src="' . $headerPrefix . '/graphics/' . $subTool->image . '"> ' . $subTool->name;
|
echo '<img class="max16" width="16px" height="16px" alt="" src="' . $headerPrefix . '/graphics/' . $subTool->image . '"> ' . $subTool->name;
|
||||||
echo "</a>\n";
|
echo "</a>\n";
|
||||||
echo "</li>\n";
|
echo "</li>\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,10 @@
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.max16 {
|
||||||
|
max-width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
div.dialog-page {
|
div.dialog-page {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue