[Libreoffice-commits] core.git: filter/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Wed Sep 6 14:06:37 UTC 2017


 filter/source/xslt/odf2xhtml/export/xhtml/body.xsl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3811da1b854896fa96f65a87efb1876523353618
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>

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"/>


More information about the Libreoffice-commits mailing list