1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 16:31:13 +00:00

[file view] modification for browser compatibility

This commit is contained in:
llj
2019-04-30 12:14:23 +08:00
parent 4a8b986c99
commit 2347e517be
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ class FileView extends React.Component {
toggleCommentPanel={this.toggleCommentPanel}
/>
</div>
<div className="file-view-body flex-auto d-flex">
<div className="file-view-body flex-auto d-flex o-hidden">
{this.props.content}
{this.state.isCommentPanelOpen &&
<CommentPanel toggleCommentPanel={this.toggleCommentPanel} />