Give some room for check marks on split diff

This commit is contained in:
tidy-dev 2024-01-24 11:48:31 -05:00
parent dc71c8bca8
commit 022f6e17c1

View file

@ -420,8 +420,10 @@ export class SideBySideDiffRow extends React.Component<
* for side-by-side diffs the gutter contains the line number of only one side.
*/
private get lineGutterWidth() {
const { showSideBySideDiff, lineNumberWidth } = this.props
return showSideBySideDiff ? lineNumberWidth : lineNumberWidth * 2
const { showSideBySideDiff, lineNumberWidth, isDiffSelectable } = this.props
return showSideBySideDiff
? lineNumberWidth + (isDiffSelectable ? 10 : 0)
: lineNumberWidth * 2
}
private renderHunkExpansionHandle(