From 9f06befdc8d16a7393cc4794a8691e056b03584f Mon Sep 17 00:00:00 2001 From: Bert Frees Date: Mon, 17 Oct 2016 14:47:28 +0200 Subject: [PATCH] [mod-sbs] Make $include-production-notes option work see https://github.com/sbsdev/pipeline-mod-sbs/issues/10 --- .../sbs/braille/src/main/resources/css/default.scss | 13 +++++++------ .../src/main/resources/xml/xml-to-pef.options.xpl | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/modules/sbs/braille/src/main/resources/css/default.scss b/modules/sbs/braille/src/main/resources/css/default.scss index 473bcfad2..2039bcd1f 100644 --- a/modules/sbs/braille/src/main/resources/css/default.scss +++ b/modules/sbs/braille/src/main/resources/css/default.scss @@ -736,12 +736,13 @@ imggroup > caption, imggroup > img { margin-left:2; } -imggroup > prodnote { - display:block; -} - -prodnote { - display:inline; +if $include-production-notes { + prodnote { + display:inline; + } + imggroup > prodnote { + display:block; + } } epigraph { diff --git a/modules/sbs/braille/src/main/resources/xml/xml-to-pef.options.xpl b/modules/sbs/braille/src/main/resources/xml/xml-to-pef.options.xpl index a812aed06..52639c59f 100644 --- a/modules/sbs/braille/src/main/resources/xml/xml-to-pef.options.xpl +++ b/modules/sbs/braille/src/main/resources/xml/xml-to-pef.options.xpl @@ -35,6 +35,7 @@ +