Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Davydov <lotigara@lotigara.ru>2025-05-28 10:54:40 +0300
committerIvan Davydov <lotigara@lotigara.ru>2025-05-28 10:54:40 +0300
commit1079c0ca87c9496e2980ca9d2073edfe0697f908 (patch)
treef3a5d5c09f116048e659195e652e4b0f476f50df
parent7d9599e3191c2aa8d72b230c1ad9e688cca50e4d (diff)
Make <pre> tag responsible
-rw-r--r--css/third-party.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/css/third-party.css b/css/third-party.css
index 454ef1f..337e1c7 100644
--- a/css/third-party.css
+++ b/css/third-party.css
@@ -13,3 +13,10 @@ body {
"Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
}
+
+/* https://stackoverflow.com/a/40032327 */
+pre {
+ white-space: pre-wrap;
+ word-wrap: break-word;
+ text-align: justify;
+}