Skip to content

Commit

Permalink
bruh
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Jun 2, 2024
1 parent d99e049 commit f6e11d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion quartz/components/ExplorerNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export function ExplorerNode({ node, opts, fullPath, fileData }: ExplorerNodePro
const { iconAsSVG, hasIcon, iconPath } = getIconForNodes(node, opts.iconSettings)
const dataForSanitized = sanitizeText(node.file?.slug ?? node.name)
const isRoot = folderPath.split("/").length === 1
const padding = 1 + folderPath.split("/").length >= 3 ? 1 : 1 + folderPath.split("/").length / 2
const padding = 1 + folderPath.split("/").length >= 3 ? 0.5 : 1 + folderPath.split("/").length / 2
return (
<>
{node.file ? (
Expand Down
6 changes: 3 additions & 3 deletions quartz/components/styles/explorer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ li:has(> .folder-outer:not(.open)) > .folder-container > svg {

#explorer-content ul li > a[data-hasicon="true"]:has(.file-title-icon) {
position: relative;
left: 1.2em;
left: 0.1rem;
}

.folder-title-icon > svg {
Expand Down Expand Up @@ -205,10 +205,10 @@ li:has(> .folder-outer:not(.open)) > .folder-container > svg {
margin-left: -1.2rem;
}
&:has(.folder-title[data-hasicon="false"][data-isroot="false"]) {
margin-left: 1.2rem;
margin-left: 0.3rem;
}
}
&[data-haschildren="false"] {
margin-left: -0.2rem;
margin-left: 0.3rem;
}
}

0 comments on commit f6e11d3

Please sign in to comment.