mirror of
https://github.com/desktop/desktop
synced 2024-10-31 11:07:25 +00:00
Wrap actual line contents so they're not affected by parent's display: flex
This commit is contained in:
parent
7f966b4565
commit
7517283d5d
1 changed files with 9 additions and 7 deletions
|
@ -357,6 +357,7 @@ export class SideBySideDiffRow extends React.Component<
|
||||||
return (
|
return (
|
||||||
<div className="content" onContextMenu={this.props.onContextMenuText}>
|
<div className="content" onContextMenu={this.props.onContextMenuText}>
|
||||||
<div className="prefix"> {prefix} </div>
|
<div className="prefix"> {prefix} </div>
|
||||||
|
<div className="content-wrapper">
|
||||||
{syntaxHighlightLine(data.content, data.tokens)}
|
{syntaxHighlightLine(data.content, data.tokens)}
|
||||||
{data.noNewLineIndicator && (
|
{data.noNewLineIndicator && (
|
||||||
<Octicon
|
<Octicon
|
||||||
|
@ -365,6 +366,7 @@ export class SideBySideDiffRow extends React.Component<
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue