make codeblocks stand out more
This commit is contained in:
parent
f99eca0e47
commit
f79ea6f8e1
@ -77,6 +77,7 @@ button {
|
|||||||
.ovfl-bw {
|
.ovfl-bw {
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
background-color: var(--bg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
#post-text, button {
|
#post-text, button {
|
||||||
|
@ -44,7 +44,7 @@ function filterPost(text){
|
|||||||
let paddlen = 3
|
let paddlen = 3
|
||||||
out = out.substring(paddlen,out.length-paddlen).trim()+"\n"
|
out = out.substring(paddlen,out.length-paddlen).trim()+"\n"
|
||||||
out = newlineify(out)
|
out = newlineify(out)
|
||||||
return `<code class="ovfl-bw">${out}</code>`
|
return `<div class="ovfl-bw"><code>${out}</code></div>`
|
||||||
}
|
}
|
||||||
|
|
||||||
out = newlineify(out)
|
out = newlineify(out)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user