Css 设置闪亮选项卡SetPanel中选项卡的上/下边距

Css 设置闪亮选项卡SetPanel中选项卡的上/下边距,css,r,shiny,Css,R,Shiny,是否有人可以帮助您使用CSS设置tabsetPanel中选项卡的上/下边距 下面是一个示例代码 library(shiny) shinyApp( ui=shinyUI( fixedPage( tabsetPanel( tabPanel("Data Input", fixedRow( column(12,

是否有人可以帮助您使用CSS设置tabsetPanel中选项卡的上/下边距

下面是一个示例代码

library(shiny)
shinyApp(
 ui=shinyUI(
    fixedPage(
        tabsetPanel(
            tabPanel("Data Input",
                    fixedRow(
                        column(12,
                               h6("test"))
                    )
            )
        )
    )
)
,

server=shinyServer(function(input, output) {

 })
)


可能是这样的。有关更多信息,请参阅:


谢谢你的回答@timfaber,这很有效。我个人更喜欢标签$head(标签$style(HTML('.nav{margin top:30px;}'))
library(shiny)
shinyApp(
ui=shinyUI(
fixedPage(
  tabsetPanel(
    tabPanel("Data Input",
             tags$style(HTML("
              .tabbable > .nav > li > a {margin-top:50px;}")),
             fixedRow(
               column(12,
                      h6("test"))
             )
    )
  )
)
)
,

server=shinyServer(function(input, output) {

})
)