Second line of heading not aligned
Posted: Mon Jul 04, 2016 10:50 pm
We sometimes have long task titles, and when we generate them they appear on 2 lines. This is fine, but the second line is not aligned with the first one.
I just can't figure out where to fix this.
This is my xsl for the second
[Codebox=]
<xsl:attribute-set name="topic.topic.title" use-attribute-sets="common.title">
<xsl:attribute name="font-family">Sans</xsl:attribute>
<xsl:attribute name="font">Open Sans</xsl:attribute>
<xsl:attribute name="space-before">0pt</xsl:attribute>
<xsl:attribute name="space-after">0pt</xsl:attribute>
<xsl:attribute name="font-size">16pt</xsl:attribute>
<xsl:attribute name="font-weight">normal</xsl:attribute>
<xsl:attribute name="padding-top">30pt</xsl:attribute> <!--Media5-->
<xsl:attribute name="padding-bottom">18pt</xsl:attribute>
<xsl:attribute name="border-bottom-width">0pt</xsl:attribute>
<xsl:attribute name="color">#1f7cd3</xsl:attribute>
<xsl:attribute name="line-height">120%</xsl:attribute>[/Codebox]
[Codebox=] <xsl:attribute-set name="common.title">
<xsl:attribute name="font-family">Sans</xsl:attribute>
<xsl:attribute name="font-weight">normal</xsl:attribute>
<xsl:attribute name="font-size">13pt</xsl:attribute>
<xsl:attribute name="alignment">justify</xsl:attribute>
<xsl:attribute name="color">#213368</xsl:attribute>
</xsl:attribute-set>[/Codebox]
Any idea?
Regards
I just can't figure out where to fix this.
This is my xsl for the second
[Codebox=]
<xsl:attribute-set name="topic.topic.title" use-attribute-sets="common.title">
<xsl:attribute name="font-family">Sans</xsl:attribute>
<xsl:attribute name="font">Open Sans</xsl:attribute>
<xsl:attribute name="space-before">0pt</xsl:attribute>
<xsl:attribute name="space-after">0pt</xsl:attribute>
<xsl:attribute name="font-size">16pt</xsl:attribute>
<xsl:attribute name="font-weight">normal</xsl:attribute>
<xsl:attribute name="padding-top">30pt</xsl:attribute> <!--Media5-->
<xsl:attribute name="padding-bottom">18pt</xsl:attribute>
<xsl:attribute name="border-bottom-width">0pt</xsl:attribute>
<xsl:attribute name="color">#1f7cd3</xsl:attribute>
<xsl:attribute name="line-height">120%</xsl:attribute>[/Codebox]
[Codebox=] <xsl:attribute-set name="common.title">
<xsl:attribute name="font-family">Sans</xsl:attribute>
<xsl:attribute name="font-weight">normal</xsl:attribute>
<xsl:attribute name="font-size">13pt</xsl:attribute>
<xsl:attribute name="alignment">justify</xsl:attribute>
<xsl:attribute name="color">#213368</xsl:attribute>
</xsl:attribute-set>[/Codebox]
Any idea?
Regards