From: Dessalines Date: Sun, 8 Mar 2020 05:45:59 +0000 (-0500) Subject: Line break pre / view_source blocks. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/readmes/%7B%7D/%22%7Burl%7D/%7BelementUrl%7D?a=commitdiff_plain;h=559ccf02649a9296232ece368b10fbd4ab1d56a2;p=lemmy.git Line break pre / view_source blocks. --- diff --git a/ui/assets/css/main.css b/ui/assets/css/main.css index b458a9d2..618efa40 100644 --- a/ui/assets/css/main.css +++ b/ui/assets/css/main.css @@ -247,3 +247,8 @@ hr { .list-inline-item-action:not(:last-child) { margin-right: 1.2rem; } + +pre { + white-space: pre-wrap; + word-break: keep-all; +}