summaryrefslogtreecommitdiff
path: root/help3xsl
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:11:35 +0200
commit2fdf0556202b43940ee003e7d1e6d452c3d11ab7 (patch)
tree6a43611bb70db0e8dd29b454af6f6944a916c8fb /help3xsl
parentb1a2195960ea7885d5049cf7e36bf0c5f1944f8e (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>
Diffstat (limited to 'help3xsl')
-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 -->