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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user