From c6c248df26df2b293d2292b0d921e1bfb57493fe Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Thu, 28 Jul 2022 19:11:27 +0400 Subject: [PATCH] Improve styling of org-mode results to original alignment, line breaks --- src/interface/web/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/interface/web/index.html b/src/interface/web/index.html index 05bee0a4..ea620f42 100644 --- a/src/interface/web/index.html +++ b/src/interface/web/index.html @@ -47,7 +47,7 @@ .then(data => { console.log(data); document.getElementById("results").innerHTML = - `
` + `
` + render_json(data, query, type) + `
`; }); @@ -160,6 +160,10 @@ white-space: pre-wrap; } + #results-org { + text-align: left; + white-space: pre-line; + } span.task-status { color: white; padding: 3.5px 3.5px 0;