# HG changeset patch # User Thomas De Schampheleire # Date 2015-05-01 21:17:55 # Node ID 85a6526a15a88ab0ad7c5392d3ca033ec3d8808a # Parent d9747a04c74a723f517949b32d5483517f80ec1f diff view: do not hide overflow on very long lines that cannot be wrapped When a change contains very long lines that cannot be wrapped because they contain very long 'words' without spaces, the overflow is currently not visible at all. This occurrence of such very long non-wrappable words is pretty uncommon, but can for example happen in comma-separated value files. Not touching the existing behavior of trying to wrap long lines, this patch adds horizontal scrollbars for these exceptional cases of unavoidable overflow. On normal lines and long lines that can be wrapped, the diff block remains the same as before. diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -4788,7 +4788,6 @@ div.diffblock { } div.diffblock.margined { margin: 0px 20px 0px 20px; - overflow: hidden; } div.diffblock .code-header { border-bottom: 1px solid #CCCCCC;