From 3314770c7d0362afd2b17ccab7885f3c47ffa03d Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 3 Jul 2020 23:47:10 +0200 Subject: [PATCH] Fix vertical header cell orientation bug for Chromium. --- enhance_table.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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('') -- 2.30.2