【发布时间】:2017-09-27 02:35:41
【问题描述】:
附件是shiny::selectInput内的shinydashboard::box,下面是Rshiny中的代码:
box(selectInput(inputId = "test", label = "Normalization", choices = 'RSEM: FPKM'), width = 3, background = 'navy')
如何更改框填充以减少底部的海军蓝色部分?
我尝试使用 css 增加它:
.box {
padding-bottom: 50%;
}
它把底部增加到这个:
但是当我尝试减少它时,它并没有改变:
.box {
padding-bottom: 1%;
}
【问题讨论】:
-
改用
.form-group {margin-bottom: 0px;} -
@HubertL 这不起作用
标签: css r shiny shinydashboard