From d5e358053d63f2c69e2e836ec12652c2ebaaec85 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Mon, 26 Jan 2026 14:22:27 +0000 Subject: [PATCH] Added a css class to the header span to empty box header so styling can be added (e.g. if header font size is changed) --- R/htmlBoxManipulation.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/htmlBoxManipulation.R b/R/htmlBoxManipulation.R index 5583fc9..00011c0 100644 --- a/R/htmlBoxManipulation.R +++ b/R/htmlBoxManipulation.R @@ -171,7 +171,9 @@ htmlRemoveBoxTitle <- function(box, removeHeader = FALSE) { } else { htmltools::tagQuery(box)$ find(".box-title")$ - replace(htmltools::tags$span(htmltools::HTML(" ")))$ + replace(htmltools::tags$span( + class = "empty-box-title", htmltools::HTML(" ") + ))$ allTags() } }