Skip to content

Commit e2cbb7f

Browse files
committed
[reveal] Add tests for no auto stretch when aside is on slide
1 parent 16c444b commit e2cbb7f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

tests/docs/reveal/stretch.qmd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,12 @@ Some content
234234
plot(cars)
235235
```
236236

237+
:::
238+
239+
## With aside on slide {#aside}
240+
241+
![Caption](https://revealjs.com/images/logo/reveal-black-text.svg)
242+
243+
::: {.aside}
244+
Something here as an aside
237245
:::

tests/smoke/render/render-reveal.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,6 @@ testRender(input, "revealjs", false, [
6666
"#custom-divs-caption img.r-stretch",
6767
"#custom-divs-knitr img.r-stretch",
6868
"#custom-divs-knitr-caption img.r-stretch",
69+
"#aside img.r-stretch",
6970
]),
7071
]);

0 commit comments

Comments
 (0)