This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new d2ff514  padding and background
d2ff514 is described below

commit d2ff514aa280f42fca9e13f54be7c790c9d937b4
Author: Daniel Gruno <[email protected]>
AuthorDate: Mon Nov 15 18:48:55 2021 +0100

    padding and background
    
    will tweak more later...
---
 webui/js/ponymail.js                | 4 ++--
 webui/js/source/construct-thread.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index b9acdde..6dc9322 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -911,10 +911,10 @@ function construct_single_thread(state, json) {
 
     // Not top level thread?
     if (json.thread['in-reply-to'] && json.thread['in-reply-to'].length > 0) {
-        let notice = new HTML("span", {style: {color: "saddlebrown"}}, "This 
email appears to be a reply to another email. If you wish to attempt finding 
the root thread, click here: ");
+        let notice = new HTML("span", {style: {color: "saddlebrown", 
background: 'white', padding: "1px"}}, "This email appears to be a reply to 
another email. If you wish to attempt finding the root thread, click here: ");
         let a = new HTML("a", {href: "javascript:void(location.href += 
'&find_parent=true');"}, "Find parent email");
         div.inject(notice);
-        div.inject(a);
+        notice.inject(a);
     }
 
     if (chatty_layout) {
diff --git a/webui/js/source/construct-thread.js 
b/webui/js/source/construct-thread.js
index 14a7265..481778b 100644
--- a/webui/js/source/construct-thread.js
+++ b/webui/js/source/construct-thread.js
@@ -136,10 +136,10 @@ function construct_single_thread(state, json) {
 
     // Not top level thread?
     if (json.thread['in-reply-to'] && json.thread['in-reply-to'].length > 0) {
-        let notice = new HTML("span", {style: {color: "saddlebrown"}}, "This 
email appears to be a reply to another email. If you wish to attempt finding 
the root thread, click here: ");
+        let notice = new HTML("span", {style: {color: "saddlebrown", 
background: 'white', padding: "1px"}}, "This email appears to be a reply to 
another email. If you wish to attempt finding the root thread, click here: ");
         let a = new HTML("a", {href: "javascript:void(location.href += 
'&find_parent=true');"}, "Find parent email");
         div.inject(notice);
-        div.inject(a);
+        notice.inject(a);
     }
 
     if (chatty_layout) {

Reply via email to