From e44dbc2497f4608cdd000e5ef16fd50757dd7ffd Mon Sep 17 00:00:00 2001 From: OMN Date: Thu, 12 Nov 2020 12:42:41 +0000 Subject: [PATCH] Hardcode single default CSS - breaking change - Themes likely broken at this point - Break existing use of inline CSS --- webapp_utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webapp_utils.py b/webapp_utils.py index cae8f905..88494e0f 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -531,8 +531,10 @@ def htmlHeaderWithExternalStyle(cssFilename: str, lang='en') -> str: if fontName: htmlStr += ' \n' - cssFile = '/' + cssFilename.split('/')[-1] - htmlStr += ' \n' + cssFile = cssFilename.split('/')[-1] + # TODO: Clean up - default load only one base css file + htmlStr += ' \n' + #htmlStr += ' \n' htmlStr += ' \n' htmlStr += ' \n' htmlStr += ' Epicyon\n'