pull/565/head
Zef Hemel 2023-11-12 12:08:09 +01:00
parent f3d72ca6f4
commit 95301a41ff
2 changed files with 29 additions and 1 deletions

View File

@ -47,6 +47,27 @@ ul li::before {
/* Also needed for space (tweak if needed) */
}
h1,
h2,
h3,
h4,
h5 {
margin: 0;
}
a.wiki-link {
border-radius: 5px;
padding: 0 5px;
color: var(--editor-wiki-link-page-color);
background-color: var(--editor-wiki-link-page-background-color);
text-decoration: none;
}
span.task-deadline {
background-color: rgba(22, 22, 22, 0.07);
}
body:hover #button-bar,
body:active #button-bar {

View File

@ -248,6 +248,7 @@ function render(
name: "a",
attrs: {
href: `/${ref.replace("@", "#")}`,
class: "wiki-link",
"data-ref": ref,
},
body: linkText,
@ -333,7 +334,13 @@ function render(
}
case "DeadlineDate":
return renderToText(t);
return {
name: "span",
attrs: {
class: "task-deadline",
},
body: renderToText(t),
};
// Tables
case "Table":