From 24f17289311b5f3271f873ab05fec322dd03166a Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 27 Apr 2020 21:48:31 -0400 Subject: Style groups in recipients Can't actually test this oops. --- default.html | 7 +++++++ html.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/default.html b/default.html index fefc9c7..7059e61 100644 --- a/default.html +++ b/default.html @@ -70,6 +70,13 @@ ul.recipient li:not(:last-child)::after { content: ', '; margin-right: 1ch; } +ul.recipient li.group > address::after { + content: ': '; +} +ul.recipient li.group::after { + content: '; '; + margin-right: 1ch; +} address.from::before { content: 'From: '; } diff --git a/html.c b/html.c index ff08357..bdbc59c 100644 --- a/html.c +++ b/html.c @@ -31,9 +31,9 @@ static int htmlAddress(FILE *file, const char *class, struct Address addr) { ); } else if (addr.mailbox) { template = TEMPLATE( -
  • -
    [mailbox]
    -