How to change the text size in Shiny modals?

shiny
shinydashboard
modaldialog

#1

I can successfully change the text sizes in shiny dashboard interface by editing css file.

Or I use following structure:

div(DTOutput(outputId = "table"), style = "font-size:85%")

However, I couldn't find the node name of shiny modals. Is it possible to change the text size in shiny modals through .css? Or in any other way?


#2

You mean change all modals at once?

So you can't just do this:

  showModal(
    modalDialog(
      p("Test", style = "font-size:50px"))
  )

#3

It works, thank you. :slight_smile: