How to change the text size in Shiny modals?

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?

1 Like

You mean change all modals at once?

So you can't just do this:

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

It works, thank you. :slight_smile: