diff --git a/R/tt_bootstrap.R b/R/tt_bootstrap.R index e7927831..b9fac76e 100644 --- a/R/tt_bootstrap.R +++ b/R/tt_bootstrap.R @@ -114,8 +114,9 @@ bootstrap_setting <- function(x, new, component = "row") { idx <- grep("tinytable columns before this", out) } else if (component == "cell") { idx <- grep("tinytable cells before this", out) + # idx <- 8 # hard-coded location (dangerous?) } else if (component == "css") { - idx <- grep("", out, fixed = TRUE) + idx <- grep("", out, fixed = TRUE)[1] } else if (component == "newrows") { idx <- grep("tinytable new rows before this", out) } diff --git a/inst/templates/bootstrap.html b/inst/templates/bootstrap.html index 6d98a1c5..51aafa5a 100644 --- a/inst/templates/bootstrap.html +++ b/inst/templates/bootstrap.html @@ -1,44 +1,17 @@ -