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)

This commit is contained in:
2026-01-26 14:22:27 +00:00
parent c3e00af747
commit d5e358053d

View File

@@ -171,7 +171,9 @@ htmlRemoveBoxTitle <- function(box, removeHeader = FALSE) {
} else { } else {
htmltools::tagQuery(box)$ htmltools::tagQuery(box)$
find(".box-title")$ find(".box-title")$
replace(htmltools::tags$span(htmltools::HTML("&nbsp;")))$ replace(htmltools::tags$span(
class = "empty-box-title", htmltools::HTML("&nbsp;")
))$
allTags() allTags()
} }
} }