Improve mail and calendar UI: tighter checkbox layout and current time styling

This commit is contained in:
Bendt
2025-12-19 15:56:01 -05:00
parent 8933dadcd0
commit f5ad43323c
3 changed files with 7 additions and 10 deletions

View File

@@ -374,7 +374,9 @@ class WeekGridBody(ScrollView):
# Style time label - highlight current time, dim outside work hours
if is_current_time_row:
error_color = self._get_theme_color("error")
time_style = Style(color=error_color, bold=True)
# Add subtle background to current time row for better visibility
surface_color = self._get_theme_color("surface")
time_style = Style(color=error_color, bold=True, bgcolor=surface_color)
elif (
row_index < self._work_day_start * rows_per_hour
or row_index >= self._work_day_end * rows_per_hour