From 86eef136cf68c48912515772f4fbb39dc07f2ce4 Mon Sep 17 00:00:00 2001 From: Arinde Eniola Date: Sun, 3 Apr 2016 22:38:38 +0100 Subject: [PATCH] fix long urls overflowing page on mobile --- app/assets/stylesheets/framework/typography.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss index b1886fbe67b6..677eca0acdb5 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 { -- GitLab