From d3e008bf764225b286f2b71d2700a8b12bf16b2b Mon Sep 17 00:00:00 2001 From: Royi Date: Wed, 4 Oct 2023 17:51:30 +0300 Subject: [PATCH] Update `r-stretch` Documentation Added a comment about `r-stretch` no applied on images with a specified `height`. --- docs/presentations/revealjs/advanced.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/presentations/revealjs/advanced.qmd b/docs/presentations/revealjs/advanced.qmd index aaff9d02a3..51c511a9ba 100644 --- a/docs/presentations/revealjs/advanced.qmd +++ b/docs/presentations/revealjs/advanced.qmd @@ -224,7 +224,7 @@ You can also disable auto-stretch for an individual slide by adding the `.nostre ## Slide Title {.nostretch} ``` -`auto-stretch` will only apply on non-nested image, which means an image in a feature blocks (e.g fragments, layout panel, columns, ... ) or a custom Divs will be ignored. For custom Divs, you can opt-in `auto-stretch` behavior by adding the class `.r-stretch` to the outer divs. In that the image within the blocks will be unwrapped below. +`auto-stretch` will not apply to images with a specified `height` yet will apply if only `width` is specified. `auto-stretch` will only apply on non-nested image, which means an image in a feature blocks (e.g fragments, layout panel, columns, ... ) or a custom Divs will be ignored. For custom Divs, you can opt-in `auto-stretch` behavior by adding the class `.r-stretch` to the outer divs. In that the image within the blocks will be unwrapped below. ## Auto Animate