I want to adjust the line spacing in a specific actionButton()
displayed in a Shiny App, as shown below and with the MWE code provided at the end. How can I change the line spacing between lines?
This adjustment should only affect this action button and not impact the entire App. While I am not proficient in HTML or CSS, I remember there is a way to apply these formats to all objects in an App or target specific ones: my goal is to apply this solely to certain objects.
https://i.sstatic.net/d4EY0.png
MWE code:
library(shiny)
ui <- fluidPage(
br(),
actionButton(
"add",
HTML("Add <br/> column"),
width = '80px',
style='padding:0px; font-size:100%')
)
server <- function(input,output,session)({})
shinyApp(ui, server)