changeset 7313:15981c8f6cf1

paper: don't keep the menu affixed to the top This makes scrolling slow and causes browsers to use a lot of CPU time.
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 05 Nov 2008 09:42:52 +0100
parents 82f80c16fc16
children a0843c82d1a2
files templates/static/style-paper.css
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/templates/static/style-paper.css	Mon Nov 03 16:01:24 2008 -0600
+++ b/templates/static/style-paper.css	Wed Nov 05 09:42:52 2008 +0100
@@ -29,17 +29,12 @@
   margin: 0;
   font-size: 80%;
   text-align: left;
-  position: fixed;
+  position: absolute;
   top: 20px;
   left: 20px;
   right: auto;
 }
 
-#.menu {
-  position: absolute !important;
-  top:expression(eval(document.body.scrollTop + 27));
-}
-
 .menu ul {
   list-style: none;
   padding: 0;