目前我在使用Shiny dashboardplus,有谁知道如何控制这个wedget的不透明度,高度和宽度?
widgetUserBox(title = "Glara Johanthen",
shiny::actionButton(inputId='Name', label="Click here"),
type = 2, src = "https://adminlte.io/themes/AdminLTE/dist/img/user7-128x128.jpg", color = "green")
要控制不透明度和其他css,添加以下内容到你的dashboardBody中。
tags$style(".widget-user-header.bg-green { opacity: 0.5 !important; }"),
或小组件的其他部分,如果你想控制头以外的不透明度,在上面这个例子中。