mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
define always same width for code line indicator in diffview
This commit is contained in:
@@ -34,6 +34,11 @@ const styles = {
|
||||
},
|
||||
changeType: {
|
||||
marginLeft: ".75rem"
|
||||
},
|
||||
diff: {
|
||||
"& > colgroup .diff-gutter-col": {
|
||||
width: "3.25rem"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -221,7 +226,7 @@ class DiffFile extends React.Component<Props, State> {
|
||||
body = (
|
||||
<div className="panel-block is-paddingless is-size-7">
|
||||
{fileAnnotations}
|
||||
<DiffComponent viewType={viewType}>
|
||||
<DiffComponent className={classes.diff} viewType={viewType}>
|
||||
{file.hunks.map(this.renderHunk)}
|
||||
</DiffComponent>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user