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:
@@ -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(" ")))$
|
replace(htmltools::tags$span(
|
||||||
|
class = "empty-box-title", htmltools::HTML(" ")
|
||||||
|
))$
|
||||||
allTags()
|
allTags()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user