diff --git a/src/events/handleRename.ts b/src/events/handleRename.ts index 52837f1..abdb5d3 100644 --- a/src/events/handleRename.ts +++ b/src/events/handleRename.ts @@ -37,10 +37,8 @@ export function handleRename(file: TAbstractFile, oldPath: string, plugin: Folde } } else if (file instanceof TFile) { if (isFileRename(file, oldPath)) { - console.log('File rename detected'); return fmptUpdateFileName(file, oldPath, plugin); } else { - console.log('File move detected'); return handleFileMove(file, oldPath, plugin); } } diff --git a/styles.css b/styles.css index 696dd47..86b8b4f 100644 --- a/styles.css +++ b/styles.css @@ -120,8 +120,10 @@ body:not(.disable-folder-highlight) .tree-item-self.fn-is-active { } .folder-overview-list { - margin: 0 !important; - padding: 1.2em 0 !important; + margin-top: 0 !important; + margin-bottom: 0 !important; + padding-bottom: 1.200 !important; + padding-top: 1.200 !important; } .folder-overview-list-item {