Skip to content

Commit

Permalink
fix: add same padding to merge requests commit view as in project com…
Browse files Browse the repository at this point in the history
…mit view
  • Loading branch information
cramakri committed Apr 29, 2020
1 parent 1918d1e commit 0587815
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/merge-request/MergeRequest.present.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,15 @@ class MergeRequestPresent extends Component {
<ChangesView {...this.props} />
} />
<Route path={this.props.mergeRequestCommitsUrl} render={props =>
<CommitsView
commits={this.props.commits}
fetched={true}
fetching={false}
urlRepository={this.props.externalUrl}
urlDiff={`${this.props.externalMRUrl}?commit_id=`}
/>
<div style={{ paddingTop: "20px" }}>
<CommitsView
commits={this.props.commits}
fetched={true}
fetching={false}
urlRepository={this.props.externalUrl}
urlDiff={`${this.props.externalMRUrl}?commit_id=`}
/>
</div>
} />
</Switch>
</Col>
Expand Down

0 comments on commit 0587815

Please sign in to comment.