summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/framework/typography.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss
index b1886fbe67b..677eca0acdb 100644
--- a/app/assets/stylesheets/framework/typography.scss
+++ b/app/assets/stylesheets/framework/typography.scss
@@ -16,8 +16,12 @@
code {
font-family: $monospace_font;
- white-space: pre;
+ white-space: pre-line;
word-wrap: normal;
+
+ @media (max-width: $screen-xs-min) {
+ word-wrap: break-word;
+ }
}
kbd {