dropping markdown support (for now), fixed code block css in html

This commit is contained in:
ari melody 2024-06-21 05:09:08 +01:00
parent c6f3cd0d96
commit 02c70dd358
Signed by: ari
GPG key ID: CF99829C92678188
4 changed files with 10 additions and 7 deletions

View file

@ -59,7 +59,7 @@
font-size: 1.2em;
}
.post-text :global(code:has(pre)) {
.post-text :global(pre:has(code)) {
margin: 8px 0;
padding: 8px;
display: block;
@ -69,7 +69,7 @@
color: var(--accent);
}
.post-text :global(code pre) {
.post-text :global(pre code) {
margin: 0;
}