sheet.xsl: fix & improve

master
pictuga 2020-04-15 23:34:28 +02:00
parent 663212de0a
commit 7375adce33
2 changed files with 7 additions and 2 deletions

View File

@ -52,8 +52,9 @@ def parse_rules(filename=None):
# for each rule # for each rule
if rules[section][arg].startswith('file:'): if rules[section][arg].startswith('file:'):
paths = [os.path.join(sys.prefix, 'share/morss', rules[section][arg][5:]), paths = [os.path.join(sys.prefix, 'share/morss/www', rules[section][arg][5:]),
os.path.join(os.path.dirname(__file__), '..', 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: for path in paths:
try: try:

View File

@ -52,6 +52,10 @@
font-weight: bold; font-weight: bold;
font-size: 1.5em; font-size: 1.5em;
} }
.content * {
max-width: 100%;
}
</style> </style>
</head> </head>