Replies: 2 comments 4 replies
-
There is another strange problem relating to ---
format: revealjs
---
##
abc abc
abc abc
abc abc
abc abc
::: {.r-stretch .fragment .fade-up}

:::
##
abc abc
abc abc
abc abc
abc abc
{.r-stretch .fragment .fade-up}
Theoretically, the two slides should be equivalent, but it turns out that the image is not automatically stretched to fit the rest of the space in the first slide, but it did work in the second. First slide: |
Beta Was this translation helpful? Give feedback.
-
As a clarification for context about the This is a way to autosize some HTML elements based other content before. Revealjs will run some JS code to compute size dynamically for the element. In your example, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Sometimes, it will be helpful to use
.r-stretch
to fit more complicated elements than images. For example:But it seems like
.r-stretch
is not working in this case, as the images overflowed:I'm not sure if this is a bug or if this is because I'm not using Quarto properly. Please provide some suggestions.
Beta Was this translation helpful? Give feedback.
All reactions