[PATCH] paper: render menu at fixed position

Rocco Rutte pdmef at gmx.net
Tue Mar 31 07:11:37 CDT 2009


Hi,

* Matt Mackall wrote:

>Insufficient changelog.

Alright, here we go.

Rocco

# HG changeset patch
# User Rocco Rutte <pdmef at gmx.net>
# Date 1238501425 -7200
# Node ID d36ad67abe287cd5c60535c3f1161f9b91445ee4
# Parent  06bf7600924966c5cab92629a15a26d5613ad763
paper: Leave menu at fixed position

As for the coal template, this avoids having to
scroll all the way up for long pages. While I'm
at it, also fix a CSS error.

diff --git a/templates/static/style-paper.css b/templates/static/style-paper.css
--- a/templates/static/style-paper.css
+++ b/templates/static/style-paper.css
@@ -15,7 +15,7 @@ body {
    padding: 2em 2em 2em 0;
  }
  
-#.main {
+#main {
    width: 98%;
  }
  
@@ -29,7 +29,7 @@ body {
    margin: 0;
    font-size: 80%;
    text-align: left;
-  position: absolute;
+  position: fixed;
    top: 20px;
    left: 20px;
    right: auto;


More information about the Mercurial-devel mailing list