From e7566c30ca2f24e2428087723bbab451c9887982 Mon Sep 17 00:00:00 2001 From: Lwangaman Date: Fri, 21 Aug 2020 23:01:41 +0000 Subject: [PATCH] up span.poi line-height --- options.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/options.php b/options.php index dfd35df..4c52589 100644 --- a/options.php +++ b/options.php @@ -1802,6 +1802,7 @@ public static function header_output() //$linespacing_verses = get_theme_mod('linespacing_verses', self::$bibleget_style_settings->linespacing_verses->dfault); self::generate_options_css('.bibleQuote.results p.versesParagraph', 'line-height', $BGETOPTIONS['PARAGRAPHSTYLES_LINEHEIGHT'].'em'); $linespacing_verses = $BGETOPTIONS['PARAGRAPHSTYLES_LINEHEIGHT'].'em'; + $poi_linespacing = ($BGETOPTIONS['PARAGRAPHSTYLES_LINEHEIGHT'] + 1.0).'em'; $fontsize_versenumber = $BGETOPTIONS['VERSENUMBERSTYLES_FONTSIZE']; if($BGETOPTIONS['VERSENUMBERSTYLES_FONTSIZEUNIT'] == 'em'){ $fontsize_versenumber /= 10; @@ -1822,7 +1823,7 @@ public static function header_output() echo PHP_EOL; echo ".bibleQuote.results p.versesParagraph span.poif { display: block; margin-left:7%; margin-top:1%; line-height: $linespacing_verses; }"; echo PHP_EOL; - echo ".bibleQuote.results p.versesParagraph span.poi { display: block; margin-left:7%; margin-top:-1%; line-height: $linespacing_verses; }"; + echo ".bibleQuote.results p.versesParagraph span.poi { display: block; margin-left:7%; margin-top:-1%; line-height: $poi_linespacing; }"; echo PHP_EOL; echo ".bibleQuote.results p.versesParagraph span.poil { display: block; margin-left:7%; margin-bottom:1%; line-height: $linespacing_verses; }"; echo PHP_EOL;