How to add more Whitespace to the Main Panel in Shiny Dashboard?

Gary

I have a couple of charts in my Main Panel in my Shiny Dashboard, and I was wondering how to extend the whitespace at the bottom of the main panel? How should I modify my ui.R to do this?

enter image description here

dashboardBody(
    tabItems(
      tabItem("dashboard",

              mainPanel(
                showOutput("plot3", "Nvd3"),
                showOutput("plot4", "Nvd3")

         )),

Update: Adding HTML("<br><br><br>") in the Main Panel only created a wider dark panel: enter image description here

OsFo

Use CSS, in your ui.R file add:

tags$head(
   tags$style(
       HTML("#dashboard{margin-bottom:50px;}")
   )
)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Conditional panel in Shiny dashboard

Add dynamic tabs in shiny dashboard using conditional panel

How to add js widget to shiny dashboard

R shiny Dashboard: How to add vertical scrollbar to dashboard sidebar?

Conditional Main Panel in Shiny

How to add interactive textinput panel in R shiny

Switch to top of shiny dashboard panel via sidebarmenu

How to control the main panel width in Shiny App during collapse and expand?

How can I add logo besides project name in shiny dashboard?

R Shiny - Fixed sidebar and main header in a Shiny dashboard

How to change color in shiny dashboard?

How to extend the background in a shiny dashboard

How to stop the autoshutdown of a shiny dashboard

how to add different scroll bar to left and main panel in bootstrap

How do i add more images and text to about panel in Electron?

Add % to values in sliderbar ticks - Shiny dashboard

Add different static colors for sliderbar in shiny dashboard

How to add my own mapping table to the dropdown menu of the "field lookup" function in the "Transform" tab of a Grafana dashboard panel?

How to recode shiny ui.r numeric values in server.r for main panel outputs?

In R shiny when rendering conditional panels in main panel, how to change view when action button is clicked?

In R shiny, how to trigger change in main panel table rendering after clicking an action button?

In R Shiny how do I use an Action Button to change the output in the main panel?

How to make the selectInput choices in Shiny extend beyond the well panel or otherwise make them more viewable by the user?

Add a shiny widget inside shiny dashboard header section

Add more graphs to the base dashboard in Chronograf

how to get values from admin panel to dashboard

How to hide a conditional panel in Shiny?

How to use shiny conditional panel

How to add panel into another panel