Open kovla opened 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.
tags$div(style = "width: 100%; height: 400px")
tabItems()/tabItem()
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
A workaround has been posted on SO (link above).
In short, when using
tags$div(style = "width: 100%; height: 400px")
specification insidetabItems()/tabItem()
, the width argument gets converted to 100px instead. WithouttabItems()/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