help3xsl/default.css | 4 ++++ help3xsl/online_transform.xsl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)
New commits: commit b2799502f1471883f67d9920c1dc5f0eacb63964 Author: Olivier Hallot <[email protected]> Date: Thu Jun 14 18:52:12 2018 -0300 Fix <bascode> rendering for paragraphs Change-Id: I4c76bac48f3be30dc3bcd358df427843a5f97a7a Reviewed-on: https://gerrit.libreoffice.org/55837 Tested-by: Jenkins Reviewed-by: Olivier Hallot <[email protected]> (cherry picked from commit 2fdf0556202b43940ee003e7d1e6d452c3d11ab7) Reviewed-on: https://gerrit.libreoffice.org/55878 diff --git a/help3xsl/default.css b/help3xsl/default.css index bfaa63268..09c818bdd 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -295,6 +295,10 @@ h6 { margin-left: 30px; margin-right: 30px; } +.bascodepar{ + font-family: monospace; +} + /* Basic code syntax highlight */ .identifier, diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 031476757..ccfa94ae5 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -871,7 +871,7 @@ <!-- Insert Basic code snippet --> <xsl:template name="insertbascode"> - <pre><code><xsl:apply-templates /></code></pre> + <pre class="bascodepar"><xsl:apply-templates /></pre><br/> </xsl:template> <!-- Insert Logo code snippet --> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
