mirror of
https://github.com/desktop/desktop
synced 2024-10-02 14:23:59 +00:00
Update extra width for both diffs
This commit is contained in:
parent
82fb6dbc3c
commit
3b0613a955
|
@ -422,9 +422,10 @@ export class SideBySideDiffRow extends React.Component<
|
|||
*/
|
||||
private get lineGutterWidth() {
|
||||
const { showSideBySideDiff, lineNumberWidth, isDiffSelectable } = this.props
|
||||
return showSideBySideDiff
|
||||
? lineNumberWidth + (isDiffSelectable ? 10 : 0)
|
||||
: lineNumberWidth * 2
|
||||
return (
|
||||
(showSideBySideDiff ? lineNumberWidth : lineNumberWidth * 2) +
|
||||
(isDiffSelectable ? 14 : 0)
|
||||
)
|
||||
}
|
||||
|
||||
private renderHunkExpansionHandle(
|
||||
|
|
Loading…
Reference in a new issue