]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Leftnav: let's try this...
authorBram Matthys <redacted>
Sun, 9 Apr 2023 16:16:27 +0000 (18:16 +0200)
committerBram Matthys <redacted>
Sun, 9 Apr 2023 16:16:27 +0000 (18:16 +0200)
header.php

index 8e3f878a299ef6bd0a5e485f648713c650b7b3d3..a4eca2c1bb0bd629d04bc1d3e67dac3629de1e1a 100644 (file)
@@ -86,15 +86,15 @@ function show_page_item($name, $page, $nestlevel)
 
        if ($nestlevel > 0)
        {
-               echo "<div style=\"font-size:12px\">";
-               $name = "- ".$name;
+               echo "<small>";
+               $name = "&nbsp; ".$name;
        }
-       echo "<a href=\"".BASE_URL.$page."\" style=\"text-decoration: none\"><div class=\"rounded-pill d-flex justify-content-between align-items-center $class list-group-item-action\">$name
+       echo "<a href=\"".BASE_URL.$page."\" style=\"text-decoration: none\"><div class=\"d-flex justify-content-between align-items-center $class list-group-item-action\" style=\"padding-bottom: 0px\">$name
                <div class=\"text-right padding-top\">
                        <i class=\"fa fa-$icon\"></i>
                </div></div></a>\n";
        if ($nestlevel > 0)
-               echo "</div>";
+               echo "</small>";
        foreach ($page as $subname=>$subpage)
                show_page_item($subname, $subpage, 1);
 }