diff --git a/vignettes/style.qmd b/vignettes/style.qmd index 470b23f1..9465740c 100644 --- a/vignettes/style.qmd +++ b/vignettes/style.qmd @@ -356,19 +356,6 @@ tt(dat, theme = "void") |> background = "blue", color = "white") ``` -## Cell padding (height and width) - -There is no argument in `style_tt()` to control the padding of cells. Thankfully, this is easy to control using CSS and `tabularray` options: - - -```{r} -tt(x) |> style_tt( - bootstrap_css = "padding-right: .2em; padding-top: 2em;", - tabularray_inner = "rowsep={2em}, colsep = {.2em}" -) -``` - - ## Markdown and Word Styling for Markdown and Word tables is more limited than for the other formats. In particular: diff --git a/vignettes/theme.qmd b/vignettes/theme.qmd index 402ba799..ad2e2369 100644 --- a/vignettes/theme.qmd +++ b/vignettes/theme.qmd @@ -43,6 +43,10 @@ tt(x, theme = "grid") tt(x, theme = "bootstrap") ``` +```{r} +tt(x, theme = "spacing") +``` + ::: {.content-visible when-format="pdf"} ```{r} tt(x, theme = "void")