Version 1.1 release
diff --git a/R/add_header_above.R b/R/add_header_above.R
index 0d90117..1b73229 100644
--- a/R/add_header_above.R
+++ b/R/add_header_above.R
@@ -149,13 +149,13 @@
ifelse(strikeout, "text-decoration: line-through; ", "")
)
if (!is.null(color)) {
- row_style <- paste0(row_style, "color: ", html_color(color), ";")
+ row_style <- paste0(row_style, "color: ", html_color(color), " !important;")
}
if (!is.null(background)) {
row_style <- paste0(
row_style,
"padding-right: 4px; padding-left: 4px; ",
- "background-color: ", html_color(background), ";"
+ "background-color: ", html_color(background), " !important;"
)
}
if (!is.null(font_size)) {