Skip to content

Commit

Permalink
give schedules a css style called 'schedule' to help with styling
Browse files Browse the repository at this point in the history
  • Loading branch information
theoryshaw committed Sep 12, 2024
1 parent c7183a5 commit 35a4d87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bonsai/bonsai/bim/module/drawing/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,8 @@ def add_text(
text_params["font-style"] = "italic"
if text_color:
text_params["fill"] = text_color

text_params["class_"] = "schedule"

if len(text_lines) == 1 and not wrap_text:
text_params.update(box_alignment_params)
Expand Down

0 comments on commit 35a4d87

Please sign in to comment.