@@ -183,14 +183,7 @@ toHTML <- function(x, standalone = FALSE, knitrOptions = NULL) {
183183 width = validateCssUnit(sizeInfo $ width ),
184184 height = validateCssUnit(sizeInfo $ height ),
185185 ),
186- class = paste(
187- name , " html-widget" ,
188- # bindFillRole() puts `overflow:auto` to items by default,
189- # which is a sensible generic default, but in the context of
190- # widgets, we can pretty easily run into non-pixel-perfect situations
191- # (e.g., the widget JS uses something like offsetHeight to resize itself)
192- if (sizeInfo $ fill ) " html-fill-item-overflow-hidden"
193- ),
186+ class = paste(name , " html-widget" ),
194187 width = sizeInfo $ width ,
195188 height = sizeInfo $ height
196189 )
@@ -488,12 +481,7 @@ shinyWidgetOutput <- function(outputId, name, width, height, package = name,
488481 class = paste0(
489482 name , " html-widget html-widget-output" ,
490483 if (reportSize ) " shiny-report-size" ,
491- if (reportTheme ) " shiny-report-theme" ,
492- # bindFillRole() puts `overflow:auto` to items by default,
493- # which is a sensible generic default, but in the context of
494- # widgets, we can pretty easily run into non-pixel-perfect situations
495- # (e.g., the widget JS uses something like offsetHeight to resize itself)
496- if (fill ) " html-fill-item-overflow-hidden"
484+ if (reportTheme ) " shiny-report-theme"
497485 ),
498486 style = css(
499487 width = validateCssUnit(width ),
0 commit comments