rstudio / shinydashboard

Shiny Dashboarding framework
https://rstudio.github.io/shinydashboard/
Other
886 stars 300 forks source link

tabItems() seems to break the style width argument specified as percent #306

Open kovla opened 5 years ago

kovla commented 5 years ago

In short, when using tags$div(style = "width: 100%; height: 400px") specification inside tabItems()/tabItem(), the width argument gets converted to 100px instead. Without tabItems()/tabItem(), the argument works as expected.

More complete description of the issue is on SO: https://stackoverflow.com/questions/54051417/r-shinydashboard-specifying-div-style-width-argument-as-percentage-to-fit-a-res

kovla commented 5 years ago

A workaround has been posted on SO (link above).