From 850b09d295f6f1d386ff0a449b30a231b8e5d610 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 13 Dec 2019 14:26:31 +0100 Subject: [PATCH] Add solution to fix css troubles on live. --- htdocs/theme/eldy/global.inc.php | 2 ++ htdocs/theme/md/style.css.php | 1 + 2 files changed, 3 insertions(+) diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 715e446faa5..70e960d424a 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -5971,3 +5971,5 @@ include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0); include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0); include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0); include dol_buildpath($path.'/theme/'.$theme.'/timeline.inc.php', 0); + +if (! empty($conf->global->THEME_CUSTOM_CSS)) print $conf->global->THEME_CUSTOM_CSS; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 08baeb664a2..377f18154fd 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -6076,5 +6076,6 @@ include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0); include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0); include dol_buildpath($path.'/theme/eldy/timeline.inc.php', 0); // actually md use same style as eldy theme +if (! empty($conf->global->THEME_CUSTOM_CSS)) print $conf->global->THEME_CUSTOM_CSS; if (is_object($db)) $db->close();