You can pass the css attribute of vertical-align:top
to your table using tab_style
:
df %>% gt() %>%
tab_style(
style = "vertical-align:top",
locations = cells_data(
columns = vars(index)
)
)
You can pass the css attribute of vertical-align:top
to your table using tab_style
:
df %>% gt() %>%
tab_style(
style = "vertical-align:top",
locations = cells_data(
columns = vars(index)
)
)