dropping markdown support (for now), fixed code block css in html
This commit is contained in:
parent
c6f3cd0d96
commit
02c70dd358
|
@ -54,7 +54,9 @@ export class Instance {
|
|||
c.push(capabilities.REACTIONS);
|
||||
break;
|
||||
case server_types.ICESHRIMP:
|
||||
c.push(capabilities.MARKDOWN_CONTENT);
|
||||
// more trouble than it's worth atm
|
||||
// the server already hands this to us ;p
|
||||
// c.push(capabilities.MARKDOWN_CONTENT);
|
||||
c.push(capabilities.REACTIONS);
|
||||
break;
|
||||
case server_types.SHARKEY:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -29,10 +29,6 @@
|
|||
transition: opacity .1s;
|
||||
}
|
||||
|
||||
.post-container:hover .post-context {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.post-context-icon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
|
|
@ -63,6 +63,11 @@
|
|||
background-color: var(--bg2);
|
||||
}
|
||||
|
||||
.post-container:hover :global(.post-context) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
:global(.post-reactions) {
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in a new issue