From 9eedc83e00d382fc3eda6c152c7e6d22f8d1713c Mon Sep 17 00:00:00 2001 From: Jordan Vidrine <30537603+jordanvidrine@users.noreply.github.com> Date: Wed, 8 Jul 2020 19:50:42 -0500 Subject: [PATCH] UI: Markdown Code Wrapping (#10195) --- app/assets/stylesheets/common/foundation/base.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/common/foundation/base.scss b/app/assets/stylesheets/common/foundation/base.scss index 44ecdde9fea..2ddcaab8987 100644 --- a/app/assets/stylesheets/common/foundation/base.scss +++ b/app/assets/stylesheets/common/foundation/base.scss @@ -109,6 +109,9 @@ pre code { overflow: auto; -moz-tab-size: 4; tab-size: 4; + &.lang-markdown { + white-space: pre-wrap; + } } // TODO figure out a clean place to put stuff like this