mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
update tree-view padding style (#3034)
* update tree-view padding style * update tree-view-ui
This commit is contained in:
@@ -13,7 +13,7 @@ const propTypes = {
|
|||||||
onNodeCollapse: PropTypes.func.isRequired,
|
onNodeCollapse: PropTypes.func.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
const PADDING_LEFT = 10;
|
const PADDING_LEFT = 20;
|
||||||
|
|
||||||
class TreeView extends React.Component {
|
class TreeView extends React.Component {
|
||||||
|
|
||||||
|
@@ -36,7 +36,8 @@
|
|||||||
|
|
||||||
/*tree view */
|
/*tree view */
|
||||||
.tree-view {
|
.tree-view {
|
||||||
padding: 12px 12px 0 0;
|
margin-left: -10px;
|
||||||
|
padding: 12px 12px 12px 0;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -33,6 +33,7 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.wiki-pages-container .tree-view {
|
.wiki-pages-container .tree-view {
|
||||||
|
margin-left: -10px;
|
||||||
padding-left:0;
|
padding-left:0;
|
||||||
}
|
}
|
||||||
.wiki-pages-container .article {
|
.wiki-pages-container .article {
|
||||||
|
Reference in New Issue
Block a user