Skip to content

Commit 38b3b5f

Browse files
committed
style: align trigger timestamp with simulation Cost line typography
The "May 3, 2026 at 4:53 AM UTC" timestamp in email's "What Triggered This Workflow" section was indented under the trigger description and used a smaller (14px) non-italic font, while the simulation Cost placeholder ("⛽ (cost shown at the Deploy step)") sits at the left margin in italic gray. Visually inconsistent for two pieces of secondary metadata. Match the typography: drop the 18px left indent, switch to 20px top margin (matches the gap between section divs), drop the font-size override, add font-style: italic. Both lines now share the same italic-gray treatment.
1 parent 8c06f77 commit 38b3b5f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

core/taskengine/summarizer_format_email.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,10 @@ func buildAnalysisHtmlFromStructured(s Summary) string {
266266
// Add timestamp row if available
267267
if s.TriggeredAt != "" {
268268
if ts := formatTimestampHumanReadable(s.TriggeredAt); ts != "" {
269-
sb.WriteString("<p style=\"margin: 4px 0 0 18px; color: #666; font-size: 14px;\">")
269+
// Same typographic treatment as the simulation Cost placeholder line
270+
// (italic, gray, no left indent) — secondary metadata that visually
271+
// flanks the primary content.
272+
sb.WriteString("<p style=\"margin: 20px 0 0 0; color: #666; font-style: italic;\">")
270273
sb.WriteString(html.EscapeString(ts))
271274
sb.WriteString("</p>")
272275
}

0 commit comments

Comments
 (0)