diff --git a/pkg/dash/func/info.py b/pkg/dash/func/info.py index 28a3c4a..80619a9 100644 --- a/pkg/dash/func/info.py +++ b/pkg/dash/func/info.py @@ -66,20 +66,14 @@ def update_info(n, target_value): style=table_style_l) ]), html.Tr([ - html.Td(f"Target: {target if target else '[TBD]'}", - colSpan=4, - style=table_style_c), - html.Td(f"Need's Avg Tweets Per Day: {avg_tweets_per_day}", - colSpan=4, - style=table_style_l) + html.Th("Target", colSpan=2, style=table_style_border), + html.Th("Need's Avg Tweets Per Day", colSpan=4, style=table_style_border), + html.Th("Avg Tweets", colSpan=2, style=table_style_border), ]), html.Tr([ - html.Td(f"Avg Tweets: {avg_tweets}", - colSpan=4, - style=table_style_c), - html.Td("", - colSpan=4, - style=table_style_l) + html.Td(f"{target if target else '[TBD]'}", colSpan=2, style=table_style_border), + html.Td(f"{avg_tweets_per_day}", colSpan=4, style=table_style_border), + html.Td(f"{avg_tweets}", colSpan=2, style=table_style_border), ]) ] pace_table = html.Table(pace_table_rows, style={