mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-30 21:50:59 +00:00
handle file change equal to zero (#2954)
This commit is contained in:
parent
ca7e9c0233
commit
9d2c9923c4
@ -88,7 +88,9 @@
|
||||
font-weight: 700;
|
||||
}
|
||||
.review-side-panel-body {
|
||||
padding: 1rem 2rem;
|
||||
padding: 1rem 2rem 3rem;
|
||||
overflow-y: scroll;
|
||||
height: 100%;
|
||||
}
|
||||
.review-side-panel-body .dirent-table-container {
|
||||
padding-left: 0;
|
||||
@ -190,7 +192,8 @@
|
||||
.review-side-panel .tab-content {
|
||||
height: 100%;
|
||||
}
|
||||
.review-side-panel .tab-content .comments {
|
||||
.review-side-panel .tab-content .comments,
|
||||
.review-side-panel .tab-content .tab-pane {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
@ -884,10 +884,10 @@ class DraftReview extends React.Component {
|
||||
<div className="review-side-panel-body">
|
||||
<SidePanelReviewers
|
||||
reviewers={this.state.reviewers}
|
||||
toggleAddReviewerDialog={this.toggleAddReviewerDialog}/>
|
||||
toggleAddReviewerDialog={this.toggleAddReviewerDialog}/>
|
||||
<SidePanelAuthor/>
|
||||
<UnresolvedComments number={this.state.unresolvedComments}/>
|
||||
{ this.state.isShowDiff &&
|
||||
{(this.state.isShowDiff === true && this.state.changedNodes.length > 0) &&
|
||||
<SidePanelChanges
|
||||
changedNumber={this.state.changedNodes.length}
|
||||
scrollToChangedNode={this.scrollToChangedNode}/>
|
||||
|
Loading…
Reference in New Issue
Block a user