-
Notifications
You must be signed in to change notification settings - Fork 390
Closed
Description
When aside is used on a slide with a single figure, there seems a clash between aside and r-stretch: the figure is stretched too much and the aside content overlaps the bottom of the figure. If there is a caption for the figure, the caption even goes below the aside content.
Desired behavior is that aside contents have priority, and they always take the bottom part of the slide; if a single figure is included, it should be stretched to the top of the aside block. Is this something that can be implemented? @cderv
Try the MRE below.
---
title: "`aside` class"
format: revealjs
---
## Slide 1

::: {.aside}
Something here. A figure without caption
:::
## Slide 2

::: {.aside}
Something here. A figure with caption
:::
## Slide 3
There is no figure on this slide.
::: {.aside}
`aside` works well.
:::
## Slide 4
::: {layout-ncol=2}

Mix text and figures.
:::
::: {.aside}
`aside` works well.
:::
zichen34
Metadata
Metadata
Assignees
Labels
No labels

