summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-04-03 22:38:38 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-04-03 22:38:38 +0100
commit86eef136cf68c48912515772f4fbb39dc07f2ce4 (patch)
tree9d57c4ae4390a43ab0ddc7a0190beb71993fb51f
parentfee7ad86273b17100d541b68c670a20ca954d673 (diff)
downloadgitlab-ce-fix_long_urls_overflow_on_mobile.tar.gz
fix long urls overflowing page on mobilefix_long_urls_overflow_on_mobile
-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 {