【发布时间】:2020-12-29 16:29:51
【问题描述】:
我试图将闪亮小部件的标题放在它旁边,就像在这个 answer 中一样,但不幸的是它不起作用并且看不到任何变化。还有其他人面临同样的问题吗?
library(shiny)
runApp(list(ui = pageWithSidebar(
headerPanel("side-by-side"),
sidebarPanel(
tags$head(
tags$style(type="text/css", "label.control-label, .selectize-control.single{ display: inline-block!important; }")
),
selectInput(inputId = "options", label = "dropdown dox:",
choices = list(a = 0, b = 1))
),
mainPanel(
h3("bla bla")
)
)
, server = function(input, output) { NULL })
)
【问题讨论】: