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%;
height: calc(100% - 48px);
border-top: 1px solid #e8e8e8;
}
.view-mode-container {
display: flex;
flex-direction: row !important;
overflow: hidden !important;
padding-left: 0 !important;
flex-direction: row;
min-height: 0;
}

View File

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