Fix <pre> not wrapping

This commit is contained in:
blankie 2023-11-24 18:30:03 +11:00
parent fa68fda5ac
commit f408c5206c
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ html {
padding: 10px; padding: 10px;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
pre {
/* https://stackoverflow.com/a/248013 */
white-space: pre-wrap;
}
img { img {
object-fit: cover; object-fit: cover;