-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quarto HTML incompatible with bslib full screen cards #6081
Comments
|
Should this be reported to rstudio/bslib instead? cc @cpsievert I was on the fence about where the solution should be implemented, but since a design goal for Quarto is to make the transition from R Markdown seamless, I suspect a patch might address behavior that is incompatible with other types of .Rmd-supported content as well. |
…er mimic it (should help with issues such as quarto-dev/quarto-cli#6081)
Here is a good place for this issue since Quarto will need some changes to address this problem. I just sent a proposal in #6099 |
Actually, we're going to address the underlying problem here in |
@cpsievert I tested with the development branch of The original example proposed now renders exactly as desired. Thanks for your help! |
Bug description
This is cross-posted from Expand Plotly output in Quarto HTML document to full screen
I would like to make plotly output from a chunk in a Quarto HTML document expandable to a full screen view.
bslib
seems to offer such a solution via card(full_screen = TRUE,...) which is documented at https://rstudio.github.io/bslib/articles/cards.html#filling-outputsI can do this with R Markdown, but it appears that either
bslib
is unable to modify the theme as needed to support this behavior, or some Quarto CSS theming may be overriding desired behavior.When I render the Quarto version, two things are different than desired about the layout:
Unzoomed:
Zoomed:
Steps to reproduce
Expected behavior
No response
Actual behavior
No response
Your environment
RStudio 2022.12.0+353.pro20 "Elsbeth Geranium" Release (02ace23e263335c78e1df5b0892e48913e5fcecf, 2022-12-15) for Ubuntu Bionic
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Ubuntu 20.04
Quarto check output
Testing against a dev version pulled from the repo today
The text was updated successfully, but these errors were encountered: