From b107cb8787d8c9fb09fd4860a2b254145bdfa2ea Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Mon, 24 Aug 2015 12:49:48 -0700 Subject: [PATCH] Tweak attachment display --- themes/bootstrap/public/inbucket.css | 6 +++--- themes/bootstrap/templates/mailbox/_show.html | 18 ++++++++++-------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/themes/bootstrap/public/inbucket.css b/themes/bootstrap/public/inbucket.css index 9dae835..470fca9 100644 --- a/themes/bootstrap/public/inbucket.css +++ b/themes/bootstrap/public/inbucket.css @@ -53,11 +53,11 @@ body { .message-attachments { margin-top: 20px; - padding: 10px 20px;; + padding: 10px 10px 0 0; } -.message-attachments ul { - margin: 0 +.message-attachments div { + margin: 0 0 5px 0; } /* Metrics */ diff --git a/themes/bootstrap/templates/mailbox/_show.html b/themes/bootstrap/templates/mailbox/_show.html index 3354728..4863203 100644 --- a/themes/bootstrap/templates/mailbox/_show.html +++ b/themes/bootstrap/templates/mailbox/_show.html @@ -46,13 +46,15 @@ {{with .attachments}}
- +
+ + {{end}} {{end}}