From 754cda80d05ffbb41d56d83fe0836311739e0155 Mon Sep 17 00:00:00 2001 From: Elly Date: Fri, 3 Sep 2021 21:30:59 -0400 Subject: [PATCH] Ensure that long strings do not overflow --- static/css/main.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index dce81113..1af980b2 100755 --- a/static/css/main.css +++ b/static/css/main.css @@ -4,7 +4,17 @@ body { font-family: "Inconsolata"; color: #333333; - background-color: #F5F5F5; } + background-color: #F5F5F5; + /* Make sure that text doesn't flow off the page */ + overflow-wrap: break-word; + word-wrap: break-word; + -ms-word-break: break-all; + word-break: break-word; + -ms-hyphens: auto; + -moz-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} a { color: #828282; @@ -478,4 +488,4 @@ strong { video { max-width: 100%; -} \ No newline at end of file +}