1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +00:00

update tree-view padding style (#3034)

* update tree-view padding style

* update tree-view-ui
This commit is contained in:
杨顺强
2019-03-04 17:45:28 +08:00
committed by Daniel Pan
parent ce179dafea
commit a66592f978
3 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ const propTypes = {
onNodeCollapse: PropTypes.func.isRequired,
};
const PADDING_LEFT = 10;
const PADDING_LEFT = 20;
class TreeView extends React.Component {

View File

@@ -36,7 +36,8 @@
/*tree view */
.tree-view {
padding: 12px 12px 0 0;
margin-left: -10px;
padding: 12px 12px 12px 0;
line-height: 1.5;
}

View File

@@ -33,6 +33,7 @@
overflow: auto;
}
.wiki-pages-container .tree-view {
margin-left: -10px;
padding-left:0;
}
.wiki-pages-container .article {