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