From 9f2e708798938feaacb0a0f5dafcdaa13cf54db2 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Tue, 18 May 2021 16:16:28 +0530 Subject: [PATCH] Wrap lines in
 without overflowing the viewport.

Closes #359.
---
 frontend/src/assets/style.scss | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/frontend/src/assets/style.scss b/frontend/src/assets/style.scss
index 64c3537..b9ec916 100644
--- a/frontend/src/assets/style.scss
+++ b/frontend/src/assets/style.scss
@@ -57,6 +57,10 @@ ul.no {
   position: relative;
 }
 
+.content pre {
+  white-space: pre-wrap;
+}
+
 section {
   &.wrap {
     max-width: 1100px;
@@ -65,6 +69,7 @@ section {
     max-width: 900px;
   }
 }
+
 .spinner.is-tiny {
   display: inline-block;
   height: 10px;