[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - filter/source
Samuel Mehrbrodt
Samuel.Mehrbrodt at cib.de
Wed Sep 13 19:26:03 UTC 2017
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3de0b7ecaac7b00d82a7ce74212d98ce44c30818
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date: Wed Sep 6 14:51:09 2017 +0200
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 at libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
(cherry picked from commit 3811da1b854896fa96f65a87efb1876523353618)
Reviewed-on: https://gerrit.libreoffice.org/42003
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index c0ba08f5e8a7..98358fd48627 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"/>
More information about the Libreoffice-commits
mailing list