From eaad7f844cd64456f6ed1a7eccfe6f79cdf5d305 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Fri, 15 May 2026 13:43:00 +0200 Subject: [PATCH] Round rail ends; drop arrowhead lower and shift right MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Two new stub rows now bookend each section's rail. The top cap is a 4px-high TR whose rail TD carries border-top-left/ -right-radius so the rail's top end visually rounds off. The bottom cap is an 18px-high TR with border-bottom-left/ -right-radius so the rail's tail tapers into a rounded stop beneath the last card. - The chevron arrowhead now lives in its own TR with no rail border, sitting 14px below the rounded rail-end and another ~18px of cell height below that — visibly separated from the rail rather than sitting flush against its tip. - Chevron's horizontal offset shifted from -38 to -37 (one px right) and SVG width bumped to 26 to give the arrow a little more visual weight at its new lower position. --- resources/views/email.phtml | 71 +++++++++++++++++++++++++++---------- 1 file changed, 52 insertions(+), 19 deletions(-) diff --git a/resources/views/email.phtml b/resources/views/email.phtml index acf48ba..a7ed236 100644 --- a/resources/views/email.phtml +++ b/resources/views/email.phtml @@ -508,25 +508,52 @@ $card_open = ''; $card_close = '
'; -// Closing arrow that visually caps each section's timeline. Inline -// SVG chevron with stroke-linecap:round so the line ends are blunted -// — matches the look of UI arrowheads rather than a filled triangle. -// margin-left mirrors the dot's offset so both elements sit on the -// same vertical axis. -$arrow_svg = '' + . '' + . ''; + +$timeline_bottom_cap = '
' + . '' + . '' + . '
'; + +// Chevron arrowhead — inline SVG, stroke-linecap:round + +// stroke-linejoin:round so the strokes have soft ends. Sits below +// the rail's rounded tail in its own row so the rail terminates +// cleanly without the chevron's strokes painting over the round. +$arrow_svg = '' - . '' + . '' . ''; -$timeline_close_row = '
' - . '' - . '' - . '' - . '
' +$timeline_arrow_row = '' + . '' + . '' + . '' . $arrow_svg . '' . ''; @@ -586,6 +613,7 @@ $timeline_close_row = ''

+ ' echo $event_row($fact, $body, $show_dot); ?> - + + @@ -636,6 +665,7 @@ $timeline_close_row = ''

+ ' echo $event_row($fact, $body, $show_dot); ?> - + + @@ -686,6 +717,7 @@ $timeline_close_row = ''

+ ' echo $event_row($fact, $body, $show_dot); ?> - + +