1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 01:44:13 +00:00

fix lib content detail style when tree is not open (#6590)

This commit is contained in:
Michael An
2024-08-20 16:38:43 +08:00
committed by GitHub
parent 10d1e4d7a5
commit 610abf83e3
2 changed files with 2 additions and 11 deletions

View File

@@ -10,13 +10,7 @@
width: 100%; width: 100%;
height: calc(100% - 48px); height: calc(100% - 48px);
border-top: 1px solid #e8e8e8; border-top: 1px solid #e8e8e8;
} flex-direction: row;
.view-mode-container {
display: flex;
flex-direction: row !important;
overflow: hidden !important;
padding-left: 0 !important;
min-height: 0; min-height: 0;
} }

View File

@@ -266,10 +266,7 @@ class LibContentContainer extends React.Component {
</div> </div>
} }
</div> </div>
<div <div className='cur-view-content lib-content-container' onScroll={this.onItemsScroll}>
className={`cur-view-content lib-content-container ${this.props.isTreePanelShown ? 'view-mode-container' : ''}`}
onScroll={this.onItemsScroll}
>
{!this.props.pathExist && this.errMessage} {!this.props.pathExist && this.errMessage}
{this.props.pathExist && ( {this.props.pathExist && (
<DirColumnView <DirColumnView