如何将下拉菜单(选择标签)的大小更改得更小?我认为是填充使下拉列表看起来“厚”。所以我将填充更改为 0 以使其“变薄”,显然这不起作用,
shinyUI(fluidPage(
sidebarPanel(
# Change the font size.
tags$style(type='text/css', " .selectize-input, .selectize-dropdown { padding:0 ; }"),
# Species/ pollutant options
selectInput(
inputId = "species",
label = "Species:",
choices = c(...)
),
....
Run Code Online (Sandbox Code Playgroud)
结果很尴尬,
有任何想法吗?