diff --git a/morss/feeds.py b/morss/feeds.py index 019f877..3801b28 100644 --- a/morss/feeds.py +++ b/morss/feeds.py @@ -52,8 +52,9 @@ def parse_rules(filename=None): # for each rule if rules[section][arg].startswith('file:'): - paths = [os.path.join(sys.prefix, 'share/morss', rules[section][arg][5:]), - os.path.join(os.path.dirname(__file__), '..', rules[section][arg][5:])] + paths = [os.path.join(sys.prefix, 'share/morss/www', rules[section][arg][5:]), + os.path.join(os.path.dirname(__file__), '../www', rules[section][arg][5:]), + os.path.join(os.path.dirname(__file__), '../..', rules[section][arg][5:])] for path in paths: try: diff --git a/www/sheet.xsl b/www/sheet.xsl index f3baf14..a0e0a17 100644 --- a/www/sheet.xsl +++ b/www/sheet.xsl @@ -52,6 +52,10 @@ font-weight: bold; font-size: 1.5em; } + + .content * { + max-width: 100%; + }