-
DescriptionConsider the following code:
The first table automatically gets a horizontal scrollbar since it's too wide. The second table might get one as well but I can't see it since the table is too long. Should a vertical scrollbar not appear automatically here? I tried
but that doesn't work here. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Scrolling is not applied automatically on slide content that does not fit the size. You can add it though, but the option is Either for all slides ---
title: "Test"
format:
revealjs:
scrollable: true
---
## 1
```{r}
library(modelsummary)
library(dplyr)
datasummary_skim(select(mtcars, 1:5))
```
## 2
```{r}
datasummary_skim(mtcars)
``` or for a specific slide ---
title: "Test"
format: revealjs
---
## 1
```{r}
library(modelsummary)
library(dplyr)
datasummary_skim(select(mtcars, 1:5))
```
## 2 {.scrollable}
```{r}
datasummary_skim(mtcars)
```
|
Beta Was this translation helpful? Give feedback.
-
Completely missed that option. Thanks for the response, @cderv. Much appreciated. |
Beta Was this translation helpful? Give feedback.
Scrolling is not applied automatically on slide content that does not fit the size. You can add it though, but the option is
scrollable
See https://quarto.org/docs/presentations/revealjs/index.html#content-overflow
Either for all slides
or for a specific slide