Css 扩大R中的通知弹出窗口?
如何在R中扩大通知?现在它正在切断更长的错误消息Css 扩大R中的通知弹出窗口?,css,r,user-interface,shiny,Css,R,User Interface,Shiny,如何在R中扩大通知?现在它正在切断更长的错误消息 library(shiny) ui <- fluidPage( actionButton("test", "Test") ) server <- function(input, output, session) { observeEvent(input$test, { showNotification("You did it! Now make me wider
library(shiny)
ui <- fluidPage(
actionButton("test", "Test")
)
server <- function(input, output, session) {
observeEvent(input$test, {
showNotification("You did it! Now make me wider", type = "message")
})
}
shinyApp(ui, server)
库(闪亮)
uiCSS调整通知宽度
/* Put shiny notifications front and center */
#shiny-notification-panel {
top: 0;
bottom: unset;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 450px;
}
CSS可调整闪亮通知的宽度
/* Put shiny notifications front and center */
#shiny-notification-panel {
top: 0;
bottom: unset;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 450px;
}