From face26f1c16695ea7bbb05478d8a3a1484d5ca31 Mon Sep 17 00:00:00 2001 From: xaviju Date: Fri, 10 Feb 2017 10:17:26 +0100 Subject: [PATCH] Limit comment max-width to 80chars --- app/modules/components/wysiwyg/wysiwyg.scss | 1 + app/modules/history/comments/comment.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/app/modules/components/wysiwyg/wysiwyg.scss b/app/modules/components/wysiwyg/wysiwyg.scss index 4bfce409..ad20e9fd 100644 --- a/app/modules/components/wysiwyg/wysiwyg.scss +++ b/app/modules/components/wysiwyg/wysiwyg.scss @@ -78,6 +78,7 @@ } p { margin-bottom: 1rem; + max-width: 80rem; word-wrap: break-word; } .codehilite { diff --git a/app/modules/history/comments/comment.scss b/app/modules/history/comments/comment.scss index 7a526108..d3186c2f 100644 --- a/app/modules/history/comments/comment.scss +++ b/app/modules/history/comments/comment.scss @@ -156,6 +156,7 @@ } .comment-text { + max-width: 80rem; &.wysiwyg { margin-bottom: 0; padding: 0;