Open jcheng5 opened 7 months ago
It's because the fill behavior is largely built on css selectors like
.html-fill-container > .html-fill-item {
flex: 1 1 auto;
min-height: 0;
min-width: 0;
}
which display contents doesn't fix. So either we should update those or just default to using pure CSS pseudo-elements.
Also, transferring this issue to the shiny-spinners
repo as that's where the web-component updates are.
In the following example app, without
with_spinner
, the plot fills the card (the correct behavior). Withwith_spinner
, the plot no longer fills. I'm guessing similar problems will arise with other flex/grid layouts.I tried applying
display: contents
to the wrapper and was surprised it did not affect this behavior.