paper: don't keep the menu affixed to the top
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Wed, 05 Nov 2008 09:42:52 +0100
changeset 7313 15981c8f6cf1
parent 7312 82f80c16fc16
child 7314 a0843c82d1a2
paper: don't keep the menu affixed to the top This makes scrolling slow and causes browsers to use a lot of CPU time.
templates/static/style-paper.css
--- 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;