rstudio / shinydashboard

Shiny Dashboarding framework
https://rstudio.github.io/shinydashboard/
Other
884 stars 300 forks source link

Remove/hide footer from dashboard #400

Open hkaspersen opened 6 months ago

hkaspersen commented 6 months ago

Hello! Is there a way to hide/remove the footer from a shinydashboard? Something similar to disable = TRUE within the header would be very useful!

YongbingDing commented 6 months ago

您好,丁永兵已经收到您的邮件,谢谢。

sanjmeh commented 6 months ago

which footer are you referring to? shinydashboard does not show a footer by default, does it?

hkaspersen commented 6 months ago

Sorry I was a bit imprecise above. When the header is disabled with disable = TRUE a line emerges at the bottom that looks like a footer, and I cannot seem to get rid of it. Example:

ui <- dashboardPage(
  header = dashboardHeader(
    disable = TRUE
  ),
  sidebar = dashboardSidebar(),
  body = dashboardBody()
)

server <- function(input, output, session) {
}

shiny::shinyApp(ui, server)

Skjermbilde 2023-12-25 121422

I want to get rid of that whitespace at the bottom and let the sidebar go all the way down the page.