Reducing space below Properties dropdown

What I’m trying to do

I am trying to reduce the amount of space below the dropdown menu for all of my file properties. The current gap is shown by the longer red arrow in the photo. I would like to reduce that space to something much more like the shorter red arrow.

Things I have tried

I have looked through all of the Appearance settings, Editor settings, and Style Settings through the Style Preferences Plugin. I am not sure if there is something I am missing or if this is a bug from some plugin I have. The ones I do have are listed below, but I have tried running obsidian without all of the plugins and the gap remains.

The “metadata-container” (the entire section with the Properties) has some margins and paddings by default. I’m guessing that’s what you are seeing.

You could try this CSS snippet to see if it helps any. You can adjust the values or comment out the margin or padding if the 0px is too tight.

.metadata-container.is-collapsed {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

https://help.obsidian.md/Extending+Obsidian/CSS+snippets

2 Likes

That worked out great, thank you for your response and for the link to the CSS snippets page so I had a guide.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.