[library-web] Embed FoG ruler in a <div>, to avoid masking the sidebar



commit dec5f8944796c0926e2a791132dc0bf30dd9e790
Author: Frédéric Péters <fpeters 0d be>
Date:   Tue Mar 23 13:45:16 2010 +0100

    Embed FoG ruler in a <div>, to avoid masking the sidebar

 data/skin/lgo.css     |    4 ++++
 data/xslt/db2html.xsl |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/skin/lgo.css b/data/skin/lgo.css
index 15c1b1c..bf3ee79 100644
--- a/data/skin/lgo.css
+++ b/data/skin/lgo.css
@@ -271,6 +271,10 @@ div.body-sidebar {
 	margin-right: 27ex;
 }
 
+div#libgo-ruler {
+	margin-right: 30ex;
+}
+
 a {
 	color: #3465a4;
 }
diff --git a/data/xslt/db2html.xsl b/data/xslt/db2html.xsl
index a33d598..481c757 100644
--- a/data/xslt/db2html.xsl
+++ b/data/xslt/db2html.xsl
@@ -177,7 +177,9 @@ along with libgo; if not, write to the Free Software Foundation, Inc.,
       <xsl:with-param name="lang"><xsl:value-of select="$libgo.lang"/></xsl:with-param>
     </xsl:call-template>
     <xsl:if test="$libgo.friends_of_gnome_ruler">
+      <div id="libgo-ruler">
       <script type="text/javascript" src="http://www.gnome.org/friends/ruler/ruler.js";></script>
+      </div>
     </xsl:if>
   </xsl:if>
 </xsl:template>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]