Format property block via css

What I’m trying to do

Hello, I want to access the metadata-properties-heading element via css, specifically I want the property block to display “collapsed” when opening the note (default is expanded).

Things I have tried

I guess accessing the element is like this:

```css
.metadata-properties-heading {
    ...??...            
} 
```

But how to specify that the element should be displayed collapsed is not clear to me.

Maybe someone can help me.

I’ve just discovered that

.metadata-container .metadata-content{
  display: none;
}
.metadata-container:focus .metadata-content{
  display: block;
}

works almost perfectly, exept for the fact that you can expand only via the folding arrow indicator

i dont know if the “focus” part is needed/even works, but if anyone knows-correct me if im wrong

1 Like

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