https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-03-15T01:43:55ZRedmineRedmine - Defect #866: Unusable side-by-side diff - horizontal scrollinghttps://www.redmine.org/issues/866?journal_id=18182008-03-15T01:43:55ZNils Adermann
<ul></ul><p>Well the demo link doesn't show it anymore as I removed class="autoscroll" from the div as I'd like to be able to use it ;-)</p> Redmine - Defect #866: Unusable side-by-side diff - horizontal scrollinghttps://www.redmine.org/issues/866?journal_id=18192008-03-15T07:34:11ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Target version</strong> set to <i>0.7</i></li></ul><p>It was fixed in <a class="changeset" title="Added wiki annotate view. It's accessible for each version from the page history view. Slight st..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1020">r1020</a>. Diffs are now wrapped:<br /><a class="external" href="http://www.redmine.org/repositories/diff/redmine?rev=1249&type=sbs">http://www.redmine.org/repositories/diff/redmine?rev=1249&type=sbs</a></p>
<p>I think you can fix it manually by adding this to your css:</p>
<pre>
table.filecontent td.line-code pre {
white-space: pre-wrap; /* CSS2.1 compliant */
white-space: -moz-pre-wrap; /* Mozilla-based browsers */
white-space: -o-pre-wrap; /* Opera 7+ */
}
</pre> Redmine - Defect #866: Unusable side-by-side diff - horizontal scrollinghttps://www.redmine.org/issues/866?journal_id=18232008-03-15T10:20:41ZNils Adermann
<ul></ul><p>Thanks, that works.</p> Redmine - Defect #866: Unusable side-by-side diff - horizontal scrollinghttps://www.redmine.org/issues/866?journal_id=18982008-03-18T17:56:54ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul>