I have a very basic shiny dashboard and I would like to set the position of this actionbutton exactly in the middle of the sidebar. It must have exactly the same distance from both sidebar sides.
app.R
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(
title="Select Data to View or Download",
titleWidth = 335),
dashboardSidebar(
width = 335,
actionButton("load","Apply Selections")),
dashboardBody()
)
server <- function(input, output) { }
shinyApp(ui, server)