mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +00:00
Improve styling of org-mode results to original alignment, line breaks
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
.then(data => {
|
.then(data => {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
document.getElementById("results").innerHTML =
|
document.getElementById("results").innerHTML =
|
||||||
`<div id=result-${type}>`
|
`<div id=results-${type}>`
|
||||||
+ render_json(data, query, type)
|
+ render_json(data, query, type)
|
||||||
+ `</div>`;
|
+ `</div>`;
|
||||||
});
|
});
|
||||||
@@ -160,6 +160,10 @@
|
|||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#results-org {
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre-line;
|
||||||
|
}
|
||||||
span.task-status {
|
span.task-status {
|
||||||
color: white;
|
color: white;
|
||||||
padding: 3.5px 3.5px 0;
|
padding: 3.5px 3.5px 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user