Hey, dear #rstats and #shinyr people,
I'm building this shiny app, and I am hitting a brick wall with the UI. I have the following code which builds the UI in the attached image. I want to get rid of this indentation that the box ("Data to Export") has. Any ideas how to do that?
Code here:
library(shiny)
library(shinydashboard)
library(DT)
exportlayout <- tabItem(tabName = "export",
fluidRow(
column(width = 12,
h2("Data Export"),
p("This page lets you select different analysis formats to download in a ", tags$i("PDF-File"),". Here's how you do this:",tags$ol(tags$li("Specify the desired output in the ", tags$i("Select Output Type-"), "Window and then select parameters in the field next to it."), tags$li("Click ", tags$i("Add new item to list-"),"Button, after which you will see an overview of your selections in the", tags$i("Data to Export-"), "field."),tags$li("Export the analysis results by clicking on the Export Button")))
)),
fluidRow(
column(width = 4,
selectInput("desire_outcome", "Select Output Type", choices = c("Statistics", "Plot"), selected = NULL)),
column(width = 4,
conditionalPanel("input.desire_outcome == 'Plot'",
selectInput("xcol_output","X Variable", choices = NULL),
selectInput("plot_type_output", "Plot Type", choices = c("Boxplot", "Density Plot", "Histogram"), selected = NULL),
selectInput("fillcol_output", "Separator Variable", choices = NULL, selected = NULL)),
conditionalPanel("input.desire_outcome == 'Statistics'",
selectInput("stats_var", "Variable for Statistic", choices = NULL, selected = NULL),
checkboxGroupInput("stats", "Included Statistics", choices = c("Mean", "SD", "Min", "Max", "N"), selected = c("Mean", "SD", "Min", "Max", "N")))
),
column(width = 4)),
fluidRow(
column(width = 12,
actionButton("add_item", "Add new item to export list")),
p("")
),
fluidRow(
column(width = 12,
p(""))),
fluidRow(
column(width=12,
box(title = "Data to Export", status = "success", DTOutput("selected_items_ui"))
)
),
fluidRow(
column(width = 12,
p(""),
downloadButton('export_pdf','Export Selected Results to PDF')
)
)
)

