Grid layout with auto-adjusted sizes would be amazing in Reveal #3904
kjohnsen
started this conversation in
Feature Requests
Replies: 1 comment
-
Related to: To note, this is tricky because of the way Reveal.js builds the components. One workaround is to play with the following CSS rule to constrain the maximum absolute height that your images can take. .quarto-layout-cell img {
max-height: 300px;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm loving making Reveal.js presentations with Quarto. However, I struggle to get sizes right when I want to use a grid layout. I've been using the figure panel classes to make grids, which seems to get image sizes right for one row, but not for more. For example,
often produces output that doesn't fit on the page (that is, img3 is down below, running off the slide). It looks like width of each subpanel is matched well but not height. Having this grid layout automatically size contents to fit on the slide would be really great
Beta Was this translation helpful? Give feedback.
All reactions