css - Background color in tabsetPanel in Shiny -


how can white background in tabsetpanel. better understanding of problem i'll bring example:

in ui.r file have following:

mainpanel( wellpanel(wellpanel(plotoutput("densityplot", height="500px"))),                                 wellpanel(tabsetpanel(type = "tabs",           tabpanel(h5("text1"),p("text" )),         tabpanel(h5("text2"), p("text") ),                            tabpanel(h5("text3"), p("text"))),         br(),         br(),         br()                                )) 

to make more clear please have @ picture below: enter image description here

the difference white background area inside of tagpanel. combination of grey , white problem. has idea, how can such tagpanals.

use style option on wellpanel:

runapp(list(   ui = fluidpage(     titlepanel("hello shiny!"),     sidebarlayout(       sidebarpanel(         numericinput('n', 'number of obs', 100)       ),       mainpanel( wellpanel(wellpanel(plotoutput("densityplot", height="500px"))),                   wellpanel(style = "background-color: #ffffff;", tabsetpanel(type = "tabs",                                          tabpanel(h5("text1"),p("text" )),                                        tabpanel(h5("text2"), p("text") ),                                                           tabpanel(h5("text3"), p("text"))),                            br(),br(),br()                                             ))     )   )   ,   server = function(input, output) {     output$densityplot <- renderplot({ hist(runif(input$n)) })   } )) 

enter image description here


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -