summaryrefslogtreecommitdiff
path: root/filter/source/xslt
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-06 14:51:09 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-06 16:06:14 +0200
commit3811da1b854896fa96f65a87efb1876523353618 (patch)
tree9bea16954331774d80c472050fb2ee1016882206 /filter/source/xslt
parent397e2f0cfb310ac606705c74e5907195e5ca7872 (diff)
xhtml export: Rather use rem than cm for margin
follow-up for 46b4eb8b0e9325f8c29cd391baf9504bccee1837 Change-Id: I70986537b842b7fd26de9c2efd1fbdad7b5271a1 Reviewed-on: https://gerrit.libreoffice.org/41990 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'filter/source/xslt')
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/body.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 9994d3f08a10..40e776024e3a 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -1282,7 +1282,7 @@
<!-- Add some margin (a tab is around 0.64cm in LO), but only if there is a number preceding the heading. -->
<xsl:if test="$labelFollowedBy='listtab' and $headingNumber != ''">
<xsl:attribute name="style">
- <xsl:text>margin-right:0.64cm;</xsl:text>
+ <xsl:text>margin-right:0.8rem;</xsl:text>
</xsl:attribute>
</xsl:if>
<xsl:copy-of select="$headingNumber"/>