From e4bc3664c5388b215930401852bf92ecddcaf3c4 Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Tue, 15 Oct 2024 07:02:40 -0400 Subject: [PATCH] bootstrap_css_rule --- R/style_bootstrap.R | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/R/style_bootstrap.R b/R/style_bootstrap.R index 26f4195b..aabe424d 100644 --- a/R/style_bootstrap.R +++ b/R/style_bootstrap.R @@ -30,6 +30,12 @@ setMethod( bootstrap_css_rule = NULL, ...) { + + # complete rule + if (!is.null(bootstrap_css_rule)) { + x@table_string <- bootstrap_setting(x@table_string, bootstrap_css_rule, component = "css") + } + return(x) }) @@ -150,6 +156,7 @@ style_apply_bootstrap <- function(x) { } } + return(x) }