Fixed shrunk box header once title is removed
This commit is contained in:
@@ -169,6 +169,9 @@ htmlRemoveBoxTitle <- function(box, removeHeader = FALSE) {
|
||||
if (removeHeader) {
|
||||
htmltools::tagQuery(box)$find(".box-header")$remove()$allTags()
|
||||
} else {
|
||||
htmltools::tagQuery(box)$find(".box-title")$remove()$allTags()
|
||||
htmltools::tagQuery(box)$
|
||||
find(".box-title")$
|
||||
replace(htmltools::tags$span(htmltools::HTML(" ")))$
|
||||
allTags()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user