When specifying multiple objects within frontMatter.data.files array, it can be difficult to tell the objects apart. I'd treat the object titles either with a different font color and/or font size to help distinguish them apart.
At the very least, please provide extra margin between the objects.
When specifying multiple objects within `frontMatter.data.files` array, it can be difficult to tell the objects apart. I'd treat the object titles either with a different font color and/or font size to help distinguish them apart.
At the very least, please provide extra margin between the objects.
<img width="1270" alt="Screenshot 2023-12-05 at 3 04 27 PM" src="https://github.com/estruyf/vscode-front-matter/assets/930713/de006e9b-c01d-4d71-b543-ebafcf5b7400">
<!-- github-sync-id:2027052161 -->
@estruyf Without adding any additional markup, I think you want to target .autoform form > .fields > div > label:first-of-type? Although, I don't know if this will wrongfully impact other use cases.
For example:
/* Adds primary color to each parent object label */.autoformform>.fields>div>label:first-of-type{color:var(--primary-color);}/* Adds space and border between nested objects except for the first object */.autoformform>.fields>div:not(:first-child)>label:first-of-type{margin-block-start:2rem;border-block-start:1pxsolid;padding-block-start:2rem;}<!--github-comment-id:1843072137-->
@estruyf Without adding any additional markup, I think you want to target `.autoform form > .fields > div > label:first-of-type`? Although, I don't know if this will wrongfully impact other use cases.
For example:
```css
/* Adds primary color to each parent object label */
.autoform form > .fields > div > label:first-of-type {
color: var(--primary-color);
}
/* Adds space and border between nested objects except for the first object */
.autoform form > .fields > div:not(:first-child) > label:first-of-type {
margin-block-start: 2rem;
border-block-start: 1px solid;
padding-block-start: 2rem;
}
<!-- github-comment-id:1843072137 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When specifying multiple objects within
frontMatter.data.filesarray, it can be difficult to tell the objects apart. I'd treat the object titles either with a different font color and/or font size to help distinguish them apart.At the very least, please provide extra margin between the objects.
Thanks @djmtype, for the suggestion!
@estruyf Without adding any additional markup, I think you want to target
.autoform form > .fields > div > label:first-of-type? Although, I don't know if this will wrongfully impact other use cases.For example:
@djmtype would you be able to provide a sample configuration so that I can reproduce it?
Thanks @djmtype, I have included your fix into the 9.4.0 which should go out later today.