obsidian-folder-notes icon indicating copy to clipboard operation
obsidian-folder-notes copied to clipboard

Folder collapse icon slightly offset using Obsidian v1.7.2

Open trainbuffer opened this issue 1 year ago • 7 comments

Obsidian v1.7.2 (v1.6.5 installer) / Win 11

  1. Open sandbox vault
  2. Install Folder notes v1.7.30
  3. Enable Folder notes

The fold/collapse icons are offset from the folder name in the Files tab.

Screenshot 2024-09-20 092205

It looks like it's coming from this section of the styles.css

.fn-whitespace-stop-collapsing .nav-folder-title-content {
    flex-grow: 1 !important;
    padding-bottom: 4px !important;
    padding-top: 2px !important;
}*/

/*.fn-whitespace-stop-collapsing .nav-folder-title {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
}

.fn-whitespace-stop-collapsing .nav-folder-collapse-indicator {
    margin-top: 4px !important;
}

I know v1.7.2 was just released, but I noticed it and thought I'd pass it on.

Thanks!

trainbuffer avatar Sep 20 '24 00:09 trainbuffer

I'll release a new version tomorrow. Adding this just fixed it and it still works for older versions

.fn-whitespace-stop-collapsing .nav-folder-collapse-indicator {
    margin-top: 4px !important;
}

LostPaul avatar Sep 20 '24 13:09 LostPaul

If someone wants this fix this right now you can install the beta release. https://github.com/LostPaul/obsidian-folder-notes/releases/tag/1.7.30-6-beta

LostPaul avatar Sep 20 '24 13:09 LostPaul

image After the update 1.7.31, there were some issues with the fold/collapse icons here

likemuuxi avatar Sep 29 '24 01:09 likemuuxi

What's the theme you're using?

LostPaul avatar Sep 30 '24 06:09 LostPaul

I am using AnuPpuccin theme, The problem also exists under the default theme,Obsidian 1.6.7 image

likemuuxi avatar Sep 30 '24 06:09 likemuuxi

same as @likemuuxi

that change

.fn-whitespace-stop-collapsing .nav-folder-collapse-indicator {
    margin-top: 4px !important;
}

messed up older versions

smithumble avatar Oct 01 '24 21:10 smithumble

Should be fixed now with the new release

LostPaul avatar Oct 03 '24 12:10 LostPaul

I've completely removed the css code that modifies the style of the folders in the file explorer and instead I only used code to stop the collapsing when it has a folder note, can you try out the latest beta version to see if you have any issues?

LostPaul avatar Jun 16 '25 13:06 LostPaul