From c8465307e34dc605d2c2e547278891b884cf29c7 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Fri, 10 Oct 2008 08:54:21 -0400 Subject: [PATCH] reserve room where sidebar will later be painted --- themes/asf/default.css | 1 + themes/asf/personalize.js | 1 + 2 files changed, 2 insertions(+) diff --git a/themes/asf/default.css b/themes/asf/default.css index 813e5f9..a23be74 100644 --- a/themes/asf/default.css +++ b/themes/asf/default.css @@ -222,6 +222,7 @@ body > h1 { #body { margin-top: 10px; + margin-right: 210px; } .admin { diff --git a/themes/asf/personalize.js b/themes/asf/personalize.js index c9e6be0..d044b87 100644 --- a/themes/asf/personalize.js +++ b/themes/asf/personalize.js @@ -282,6 +282,7 @@ function moveSidebar() { var body = document.getElementById('body'); sidebar.parentNode.removeChild(sidebar); body.parentNode.insertBefore(sidebar, body); + body.style.marginRight = 0; } // adjust dates to local time zones, optionally provide navigation keys