Some small fixes for Foundry
git-svn-id: https://svn.libreccm.org/ccm/trunk@2928 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
b1c57804cd
commit
b91eb6513f
|
|
@ -412,7 +412,7 @@
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
</figure>
|
</figure>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="h1">
|
<xsl:template match="h1">
|
||||||
<h1>
|
<h1>
|
||||||
<xsl:call-template name="foundry:set-id-and-class"/>
|
<xsl:call-template name="foundry:set-id-and-class"/>
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,9 @@
|
||||||
<!--<pre><xsl:value-of select="concat('layout = ', ./@layout)"/></pre>-->
|
<!--<pre><xsl:value-of select="concat('layout = ', ./@layout)"/></pre>-->
|
||||||
<div>
|
<div>
|
||||||
<xsl:if test="$use-default-styles">
|
<xsl:if test="$use-default-styles">
|
||||||
<!-- Nothing at the moment -->
|
<xsl:attribute name="style">
|
||||||
|
<xsl:value-of select="'position: relative; width: 100%'"/>
|
||||||
|
</xsl:attribute>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="$class != ''">
|
<xsl:if test="$class != ''">
|
||||||
<xsl:attribute name="class" select="$class"/>
|
<xsl:attribute name="class" select="$class"/>
|
||||||
|
|
@ -113,8 +115,16 @@
|
||||||
<!--<pre>grid-workspace-row-column</pre>-->
|
<!--<pre>grid-workspace-row-column</pre>-->
|
||||||
<div>
|
<div>
|
||||||
<xsl:if test="$use-default-styles">
|
<xsl:if test="$use-default-styles">
|
||||||
<xsl:attribute name="style"
|
<xsl:choose>
|
||||||
select="concat('float:left; width = ', current(), ';')"/>
|
<xsl:when test="current() = '100%'">
|
||||||
|
<!--<xsl:attribute name="style"
|
||||||
|
select="concat('float:left; width = ', current(), ';')"/>-->
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:attribute name="style"
|
||||||
|
select="concat('float:left; width: ', current(), ';')"/>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="$class != ''">
|
<xsl:if test="$class != ''">
|
||||||
<xsl:attribute name="class" select="$class"/>
|
<xsl:attribute name="class" select="$class"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue