changeset 2366:1b12e71b636f beta

added #readme anchor link
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 01 Jun 2012 17:59:31 +0200
parents b902baeaa494
children 86aa4f1f130b
files rhodecode/public/css/style.css rhodecode/templates/summary/summary.html
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/style.css	Thu May 31 18:42:49 2012 +0200
+++ b/rhodecode/public/css/style.css	Fri Jun 01 17:59:31 2012 +0200
@@ -330,6 +330,11 @@
     z-index: auto !important;
 }
 
+.header-pos-fix{
+	margin-top: -44px;
+	padding-top: 44px;
+}
+
 #header #header-inner #home a {
 	height: 40px;
 	width: 46px;
--- a/rhodecode/templates/summary/summary.html	Thu May 31 18:42:49 2012 +0200
+++ b/rhodecode/templates/summary/summary.html	Fri Jun 01 17:59:31 2012 +0200
@@ -220,11 +220,11 @@
 </div>
 
 %if c.readme_data:
-<div class="box" style="background-color: #FAFAFA">
+<div id="readme" class="box header-pos-fix" style="background-color: #FAFAFA">
     <div id="readme" class="title">
         <div class="breadcrumbs"><a href="${h.url('files_home',repo_name=c.repo_name,revision='tip',f_path=c.readme_file)}">${c.readme_file}</a></div>
     </div>
-    <div class="readme">
+    <div id="readme" class="readme">
       <div class="readme_box">
         ${c.readme_data|n}
       </div>