diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-06-14 18:52:12 -0300 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-08-07 17:58:33 +0200 |
commit | 334507167798620b2699c94588eea38e9077263b (patch) | |
tree | 72d128033a8ce4dffd19255d639bc8faccd5e4e9 | |
parent | 4da368a66160b7679aa4b2f115b6172b6b9c4da6 (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>
-rw-r--r-- | help3xsl/default.css | 4 | ||||
-rw-r--r-- | help3xsl/online_transform.xsl | 2 |
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 d73413a3d4..0048513b87 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 --> |