From: Christian Heller Date: Fri, 3 Jul 2020 21:47:10 +0000 (+0200) Subject: Fix vertical header cell orientation bug for Chromium. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/template?a=commitdiff_plain;h=3314770c7d0362afd2b17ccab7885f3c47ffa03d;p=berlin-corona-table Fix vertical header cell orientation bug for Chromium. --- diff --git a/enhance_table.py b/enhance_table.py index 6fe12d4..d37205e 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -156,7 +156,9 @@ table, tr, th, td { border: 1px solid black; text-align: center; } if sum_district == district: print('%s' % long_form) else: - print('%s' % long_form) + # Wrap in div because the vertical orientation otherwise fails + # in Chromium. + print('
%s
' % long_form) print('') for date in sorted_dates: print('')