Vertical Align Kable Table in Flexdashboard

Hi! How can I center a Kable Table inside a box in Flexdashboard?

The output is this and I want to center the table that the red arrow points.

My code (the code looks weird because this blog is trying to render it):


---
title: "Untitled"
output: 
  flexdashboard::flex_dashboard:
    orientation: rows
    vertical_layout: fill
---

```{r setup, include=FALSE}
library(flexdashboard)
library(kableExtra)
Avance Mensual
=======================================================================

Row {data-height=300}
-----------------------------------------------------------------------

### 

```{r echo=FALSE}
iris[1:4,] %>% kable() %>% kable_styling()

iris[1:2,] %>% kable() %>% kable_styling()
Row {data-height=700}
-----------------------------------------------------------------------

###
```{r echo=FALSE}
iris[1:50,] %>% kable() %>% kable_styling()

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.