They should have a line height and margin according to the CSS rule, but it is not being applied in the display. Is it required to use an HTML Serializer in this instance to manually apply some class name? That seems like overkill, so I'm hoping it's something simple I'm doing wrong. Any help is much appreciated.
Welcome to the Prismic community, and thanks for posting this question
I have a guess about what could be happening. I believe styled-jsx is scoped, so the styling only affects the current component. Styling does not cascade to child components. I think you can escape this behavior with the :global() selector: