fix: tighter file tree
This commit is contained in:
parent
820d444019
commit
878c1524ec
|
@ -126,7 +126,7 @@ const Sidebar = () => {
|
|||
})}
|
||||
// eslint-disable-next-line no-shadow
|
||||
onChange={(treeData) => setTreeData(treeData)}
|
||||
scaffoldBlockPxWidth={20}
|
||||
scaffoldBlockPxWidth={10}
|
||||
theme={FileExplorerTheme}
|
||||
treeData={mapComponents(treeData)}
|
||||
/>
|
||||
|
|
|
@ -12,17 +12,17 @@
|
|||
.rstcustom__lineBlock {
|
||||
border-left: 1px solid #666666;
|
||||
height: 1.6em;
|
||||
left: 2px;
|
||||
left: -9px;
|
||||
}
|
||||
|
||||
.rstcustom__row {
|
||||
left: -1.5em;
|
||||
padding: 0.25em 0;
|
||||
padding: 0.25em 0 0 0.125em;
|
||||
}
|
||||
|
||||
.rstcustom__rowWrapper {
|
||||
cursor: pointer;
|
||||
padding-left: 0.5em;
|
||||
padding-left: 1em;
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
@ -58,7 +58,7 @@
|
|||
}
|
||||
button {
|
||||
top: 0.75em;
|
||||
transform: translate3d(-33%, -50%, 0) scale(0.75);
|
||||
transform: translate3d(-22.5%, -50%, 0) scale(0.75);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user