Skip to content

Commit

Permalink
align group_tt in bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 20, 2024
1 parent e5b11d5 commit 5d1d337
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/group_bootstrap.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ group_bootstrap_row <- function(x, i, j, indent = 1, ...) {
# cannot be style_tt, because we already have a string bootstrap table at this stage
out <- style_bootstrap(out, i = idx_old, j = 1, indent = indent)

# if there's a two-level header column multi-span, we want it centered.
out <- style_bootstrap(out, i = -1, align = "c")

dots <- list(...)
dots[["j"]] <- NULL
if (length(dots) > 0) {
Expand Down

0 comments on commit 5d1d337

Please sign in to comment.