changeset 5087:85a6526a15a8 stable

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.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Fri, 01 May 2015 21:17:55 +0200
parents d9747a04c74a
children d0d386e51d06 5995968a6fcc
files kallithea/public/css/style.css
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Wed Jul 16 00:54:20 2014 -0400
+++ b/kallithea/public/css/style.css	Fri May 01 21:17:55 2015 +0200
@@ -4788,7 +4788,6 @@
 }
 div.diffblock.margined {
     margin: 0px 20px 0px 20px;
-    overflow: hidden;
 }
 div.diffblock .code-header {
     border-bottom: 1px solid #CCCCCC;