Macros, hiccup and block embeds

When I add a hiccup in macros, logseq wraps it in a div so elements cannot be displayed inline but the div itself. But it breaks block embeds.

span.inline div {
display: inline;
}

Any tips how to solve this?

This is annoying indeed.

For context, there is a div with class “hiccup_html” that can be styled with custom.css:

.hiccup_html {
    display: inline;
}

But it is inside another div that has not a class, so it can’t be styled with the same rule. I checked that changing it manually with Developer Tools fixes the issue.

So we need at least that div to have a class.