Closed Rio517 closed 1 year ago
Sounds like a good idea to me! I'm in the middle of a fairly complex refactor of the config API right now, so it might take me a while to get to this. If you want to take a crack at it in the meantime, that'd be great. For regular schema fields I think the only place that would need to be changed is here and embeds here There might be other places I can't think off the top of my head, but those would probably be refactoring opportunities for the form render logic. If you decide to draft a PR and run into issues feel free to ping me.
Is your feature request related to a problem? Please describe.
I'd like to be able to target certain fields with custom CSS
Describe the solution you'd like
Append class names to the
div.field__group
and to the wrapper div to support better CSS targeting. Class names below are just for illustration purposes.And to embeddable types, add and and :
This would then allow css like:
Describe alternatives you've considered Using CSS like the following would be super brittle