mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 10:22:46 +00:00
Improve move and copy dialog ui components (#6467)
* implement catalog view in move dialog * update move dialog ui components * improve move dialog ui * remove debug info * improve copy dialog ui * improve search view ui in move and copy dialog, refactor part of file-chooser.js and file-chooser.css * handle cases where repo_name is too long, truncate text with an ellipsis, remove search container border * handle cases where repo_name too long in search result item * update move and dialog ui details * add radius to repo list item
This commit is contained in:
@@ -17,7 +17,7 @@ class TreeListView extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className="list-view-content" style={{ 'marginLeft': '-1.5rem' }}>
|
||||
<div className="list-view-content">
|
||||
<TreeListItem
|
||||
node={this.props.treeData.root}
|
||||
onNodeCollapse={this.props.onNodeCollapse}
|
||||
@@ -27,6 +27,7 @@ class TreeListView extends React.Component {
|
||||
selectedRepo={this.props.selectedRepo}
|
||||
selectedPath={this.props.selectedPath}
|
||||
fileSuffixes={this.props.fileSuffixes}
|
||||
level={0}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
Reference in New Issue
Block a user