Skip to content

Commit

Permalink
add pre style for post codeblock
Browse files Browse the repository at this point in the history
  • Loading branch information
freedit-dev authored Nov 15, 2024
1 parent 19914b7 commit 4b1543e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4b1543e

Please sign in to comment.