Fixed shrunk box header once title is removed

This commit is contained in:
bwilliams committed 2026-01-26 13:53:12 +00:00
1 parent 09fba759b6
commit f7379e3d1b
1 file changed
+4 -1
+4 -1
View File
@@ -169,6 +169,9 @@ htmlRemoveBoxTitle <- function(box, removeHeader = FALSE) {
if (removeHeader) { if (removeHeader) {
htmltools::tagQuery(box)$find(".box-header")$remove()$allTags() htmltools::tagQuery(box)$find(".box-header")$remove()$allTags()
} else { } else {
htmltools::tagQuery(box)$find(".box-title")$remove()$allTags() htmltools::tagQuery(box)$
find(".box-title")$
replace(htmltools::tags$span())$
allTags()
} }
} }