I wish to add a line of HTML text just below a shinydashboard tabBox. The script below adds the text at what looks like the top of the next column.
How do I add a line of HTML text directly below the tabBox. It would be similar to a caption.
library("shiny")
library("shinydashboard")
shinyApp(
ui = dashboardPage(
dashboardHeader(disable = TRUE),
dashboardSidebar(width = 0),
body <- dashboardBody(
fluidRow(
tabBox(
id = "tabset1", height = "250px",
tabPanel("Tab1", "First tab content"),
tabPanel("Tab2", "Tab content 2")
),
htmlOutput("last_updated")
)
)
),
server = function(input, output) {
# The currently selected tab from the first box
output$tabset1Selected <- renderText({
input$tabset1
})
output$last_updated <- renderText({
paste("<font size='1px;'>Place this caption beneath the tab box</font>")
})
}
)
