sindresorhus/refined-github

Always use single-column diffs if there are no deletions *or* no additions #4397

fregante posted onGitHub

<img width="925" alt="Screen Shot 2" src="https://user-images.githubusercontent.com/1402241/119452318-65f50a80-bd60-11eb-9f83-b49e47ea21f5.png">

Sometimes split diffs are useless because the diffs appear on only one column, like in the files of these PRs:

Showing the diff on 2 columns just limits the available space for code so I think that, if easily possible, we should hide one column in the files that don't benefit from split views.


Fund this Issue

$0.00
Funded

Pull requests