Module: check_mk
Branch: master
Commit: a88ef5fce20a775529ef0a2b7ad5d4e41945e059
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a88ef5fce20a77…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat May 12 19:11:07 2012 +0200
Fixed sidebar styling: add spacing at bottom
---
web/htdocs/js/sidebar.js | 3 +--
web/htdocs/sidebar.css | 2 +-
web/htdocs/sidebar.py | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/web/htdocs/js/sidebar.js b/web/htdocs/js/sidebar.js
index 0ec43e4..7000dff 100644
--- a/web/htdocs/js/sidebar.js
+++ b/web/htdocs/js/sidebar.js
@@ -397,8 +397,7 @@ function setSidebarHeight() {
if (height == 0)
return;
- oContent.style.height = (height - oHeader.clientHeight - oFooter.clientHeight - 0) +
'px';
-
+ oContent.style.height = (height - oHeader.clientHeight - oFooter.clientHeight + 0) +
'px';
oFooter = null;
oContent = null;
diff --git a/web/htdocs/sidebar.css b/web/htdocs/sidebar.css
index 7c66307..aa5ad81 100644
--- a/web/htdocs/sidebar.css
+++ b/web/htdocs/sidebar.css
@@ -85,7 +85,7 @@ body.side {
overflow: hidden;
color: #000000;
padding-top: 60px;
- padding-bottom: 5px;
+ padding-bottom: 8px;
}
/* The footer of the sidebar */
diff --git a/web/htdocs/sidebar.py b/web/htdocs/sidebar.py
index 097bd40..7453d5f 100644
--- a/web/htdocs/sidebar.py
+++ b/web/htdocs/sidebar.py
@@ -167,7 +167,7 @@ def page_side():
restart = sidebar_snapins.get(name, {}).get('restart', False)
if restart:
restart_snapins.append(name)
- html.write('</div>')
+ html.write('<br></div>')
sidebar_foot()
html.write('</div>')