daattali / shinyalert

🗯️ Easily create pretty popup messages (modals) in Shiny
https://daattali.com/shiny/shinyalert-demo/
Other
241 stars 26 forks source link

Border in shinyalert - Color? #67

Closed charleswidnall closed 2 years ago

charleswidnall commented 2 years ago

Hi,

Is it possible to change the color of the border in the window opened by shinyalert?

I tried this but it doesn't work ... tags$style('.sweet-alert {background-color: #ffffff !important; border-color: #000000 !important;}'),

Thanks,

Charles

daattali commented 2 years ago

If you look at the DOM, it looks like there simply isn't any border. So you need to define a border. border: 5px solid purple you'll see it

charleswidnall commented 2 years ago

Perfect.

Thanks