You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use a longer title in a gt table, the title and subtitle start to left align. This is undesirable since the rest of my report has center aligned table titles, and I suspect this is a bug. Please see my attached reprex with code and knitted pdf.
library(tidyverse)
library(gt)
mtcars %>%
count(cyl) %>%
gt() %>%
tab_header(
title= md("When my Title is long it gets Left-aligned and this is not attractive"),
subtitle= md("Even subtitle gets left aligned")
)
The text was updated successfully, but these errors were encountered:
When I use a longer title in a gt table, the title and subtitle start to left align. This is undesirable since the rest of my report has center aligned table titles, and I suspect this is a bug. Please see my attached reprex with code and knitted pdf.
gt_alignment_problem.pdf
The text was updated successfully, but these errors were encountered: