How change the font size of shinyWidgets::autonumericInput()

The first form field is numericInput and I can change its size with tags$style.
The second form field is autonumericInput. tags$style can change this field's color but not its size. How do I change the size of this value. In this case, it's the number 255.

library("shiny")
library("bslib")
library("shinyWidgets")

ui <- bootstrapPage(
  
  # Format Travel Summary
  tags$head(
    tags$style("#first{
                 color: green;
                 font-size: 9px;
                 font-style: italic;}"
    )
  ),
  
  # https://bootswatch.com/journal/
  theme = bs_theme(version = 5, bootswatch = "flatly", "font_scale" = 1.0), 
  div(class = "container-fluid",
      
      div(class = "row",
          
          div(class = "col-4",
              HTML('<b>First</b>'),
              numericInput(
                inputId = "first", 
                label = NULL, 
                value = 55
              )
          ),
          
          div(class="col-4", 
              HTML('<b>Second</b>'),
              autonumericInput(
                inputId = "second", 
                label = NULL, 
                value = 255, 
                currencySymbol = "$",
                currencySymbolPlacement = "p",
                decimalPlaces = 0,
                minimumValue = 0,
                maximumValue = 9000,
                width = "160px"
              ),
          ),
        )
  )
)
  
  server <- function(input, output) {
  }
  
  shinyApp(ui = ui, server = server)```
2 Likes

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.