Module: appdb Branch: master Commit: 0136e4a92bdefe7943f9fa9f8eb8d45d691a40d5 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=0136e4a92bdefe7943f9fa9f8...
Author: Jeremy Newman jnewman@codeweavers.com Date: Tue Dec 9 14:17:51 2008 -0600
fix some spacing issues with the sidebar nav
---
include/menu.php | 2 +- styles.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/include/menu.php b/include/menu.php index 3c6e358..dfa6fc2 100644 --- a/include/menu.php +++ b/include/menu.php @@ -30,7 +30,7 @@ class htmlmenu {
function addmisc($sStuff, $sAlign = "left") { - echo "<div align="$sAlign">$sStuff</div>\n"; + echo "<li><p style="text-align: $sAlign">$sStuff</p></li>\n"; }
function done($form = null) diff --git a/styles.css b/styles.css index c1faa70..dc41329 100644 --- a/styles.css +++ b/styles.css @@ -110,7 +110,6 @@ BODY { } #sidebar LI { width: 156px; - height: 20px; margin: 0; padding: 5px 0 0 0; background-image: url('images/side_menu_bg.png'); @@ -118,7 +117,7 @@ BODY { font-size: 10px; color: white; } -#sidebar LI P { margin: 0; padding: 0 0 0 15px; } +#sidebar LI P { margin: 0; padding: 0 15px 5px 15px; } #sidebar LI.top { height: 33px; margin: 0;