mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 22:33:17 +00:00
fix
This commit is contained in:
@@ -12,7 +12,6 @@ const commentDialogPropTypes = {
|
||||
selectedText: PropTypes.string,
|
||||
newIndex: PropTypes.number,
|
||||
oldIndex: PropTypes.number,
|
||||
top: PropTypes.string
|
||||
};
|
||||
|
||||
class ReviewCommentDialog extends React.Component {
|
||||
@@ -88,9 +87,8 @@ class ReviewCommentDialog extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
let dialogTop = (parseInt(this.props.top) - 80)+ 'px';
|
||||
return (
|
||||
<div className="review-comment-dialog" style={{top: (dialogTop)}}>
|
||||
<div className="review-comment-dialog">
|
||||
<div>{this.state.userName}</div>
|
||||
<textarea value={this.state.comment} onChange={this.handleCommentChange}></textarea>
|
||||
<div className="button-group">
|
||||
|
Reference in New Issue
Block a user