相关疑难解决方法(0)

闪亮 - 将下拉菜单(选择标签)的大小(填充?)变小

如何将下拉菜单(选择标签)的大小更改得更小?我认为是填充使下拉列表看起来“厚”。所以我将填充更改为 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)

结果很尴尬,

在此处输入图片说明

有任何想法吗?

html css r shiny

2
推荐指数
1
解决办法
3004
查看次数

标签 统计

css ×1

html ×1

r ×1

shiny ×1