Skip to content

Conversation

@ascholerChemeketa
Copy link
Contributor

Fix for #2772

Root issue is that the CSS "bypasses" a figure in CSS so it can align the "figure" (i.e. image) parts in one row (content) and the figcaptions in another. Asymptote links, or other content dropped in as elements between the image and figcaption break that.

Solution is to make sure that images in sbs still get a <div class="image-box"/> that contains anything that should be grouped inside the "content row".

It could be that we end up needing a separate class image-box-sbs or something to differentiate, but using the existing image-box appears to work for now and not introduce any unwanted styles within a SBS.

FYI for @sean-fitzpatrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant