diff options
| author | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-03 22:38:38 +0100 |
|---|---|---|
| committer | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-03 22:38:38 +0100 |
| commit | 86eef136cf68c48912515772f4fbb39dc07f2ce4 (patch) | |
| tree | 9d57c4ae4390a43ab0ddc7a0190beb71993fb51f | |
| parent | fee7ad86273b17100d541b68c670a20ca954d673 (diff) | |
| download | gitlab-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.scss | 6 |
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 { |
