summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-06-14 18:52:12 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-06-15 17:16:23 +0200
commitb2799502f1471883f67d9920c1dc5f0eacb63964 (patch)
tree33c45996ec84450f2e14540cb0fe2359f877d0ec
parent8562b6a55f81cc8f47dd0fe61929f11b09988426 (diff)
Fix <bascode> rendering for paragraphs
Change-Id: I4c76bac48f3be30dc3bcd358df427843a5f97a7a Reviewed-on: https://gerrit.libreoffice.org/55837 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 2fdf0556202b43940ee003e7d1e6d452c3d11ab7) Reviewed-on: https://gerrit.libreoffice.org/55878
-rw-r--r--help3xsl/default.css4
-rw-r--r--help3xsl/online_transform.xsl2
2 files changed, 5 insertions, 1 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index bfaa632683..09c818bddc 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 0314767576..ccfa94ae5a 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 -->