Skip to content

Commit

Permalink
safe_ggplot: updated notification style
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Sep 23, 2022
1 parent 7cb9765 commit 94f6fd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions R/safe_ggplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ safe_ggplot <- function(expr, data = NULL, session = shiny::getDefaultReactiveDo
if (!is.null(session)) {
msg <- conditionMessage(e)
showNotification(
ui = paste(
tools::toTitleCase(type),
ui = tagList(
tags$b(phosphoricons::ph("warning", weight = "bold"), tools::toTitleCase(type), ":"),
msg,
sep = " : "
),
Expand Down
4 changes: 0 additions & 4 deletions inst/assets/esquisse/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ div[id^="shiny-notification-esquisse"].shiny-notification-message {
border: 1px solid #5cb85c !important;
}

div[id^="shiny-notification-esquisse"].shiny-notification {
font-size: 120% !important;
font-weight: bold !important;
}

/*
#shiny-notification-panel {
Expand Down

0 comments on commit 94f6fd8

Please sign in to comment.