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
|
// eslint-disable-next-line no-shadow
|
||||||
onChange={(treeData) => setTreeData(treeData)}
|
onChange={(treeData) => setTreeData(treeData)}
|
||||||
scaffoldBlockPxWidth={20}
|
scaffoldBlockPxWidth={10}
|
||||||
theme={FileExplorerTheme}
|
theme={FileExplorerTheme}
|
||||||
treeData={mapComponents(treeData)}
|
treeData={mapComponents(treeData)}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -12,17 +12,17 @@
|
||||||
.rstcustom__lineBlock {
|
.rstcustom__lineBlock {
|
||||||
border-left: 1px solid #666666;
|
border-left: 1px solid #666666;
|
||||||
height: 1.6em;
|
height: 1.6em;
|
||||||
left: 2px;
|
left: -9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rstcustom__row {
|
.rstcustom__row {
|
||||||
left: -1.5em;
|
left: -1.5em;
|
||||||
padding: 0.25em 0;
|
padding: 0.25em 0 0 0.125em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rstcustom__rowWrapper {
|
.rstcustom__rowWrapper {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding-left: 0.5em;
|
padding-left: 1em;
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
top: 0.75em;
|
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