From 5e5f498328d398b74ef1048b3c146865a7460654 Mon Sep 17 00:00:00 2001 From: Feufochmar Date: Tue, 31 Mar 2020 17:27:05 +0200 Subject: [PATCH] Show attachments of messages. --- apmail.css | 11 +++++++++ index.html | 8 ++----- render.js | 54 ++++++++++++++++++++++++++++++++---------- src/activity-object.js | 2 ++ 4 files changed, 56 insertions(+), 19 deletions(-) diff --git a/apmail.css b/apmail.css index 37d305c..3402c70 100644 --- a/apmail.css +++ b/apmail.css @@ -215,3 +215,14 @@ section.actor-content { padding-top: 0.3em; padding-bottom: 0.3em; } + +.attachment-display { + display: block; + border-style: solid; + border-width: thin; + padding: 0.1em; + margin: 0; + margin-left: 0.1em; + margin-right: 0.1em; + background-color: hsl(240, 10%, 85%); +} diff --git a/index.html b/index.html index 3bb5bc0..c749a85 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - +