add pre style for post codeblock

This commit is contained in:
freedit-dev 2024-11-15 17:38:02 +08:00 committed by GitHub
parent 19914b7f20
commit 4b1543e98d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1199,6 +1199,12 @@ a.search_subreddit:hover {
overflow-wrap: anywhere;
}
.post_body pre {
background: var(--background);
overflow-x: auto;
margin: 10px 0;
}
.post_body img {
max-width: 100%;
display: block;