feat: add date display toggle for shifts and update styles

Enhanced the ShiftWhen component to conditionally render the date based on a new prop, showDate. Updated app.css to include a new class for date styling. Modified tests to verify the presence and absence of date information in the rendered output.
This commit is contained in:
blake committed 2026-11-02 11:28:24 -06:00
1 parent fb30b6e92b
commit e7fc1e03ae
4 files changed
+17 -2

No files matched your search

+4
View File
@@ -488,6 +488,10 @@ h3 {
margin: 0.3rem 0;
}
.when-date {
display: block;
}
.description {
white-space: pre-wrap;
}