Skip to content
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

Increasing max code container height #1943

Closed
jjallaire opened this issue Aug 17, 2022 · 1 comment
Closed

Increasing max code container height #1943

jjallaire opened this issue Aug 17, 2022 · 1 comment
Assignees
Labels
bug Something isn't working revealjs Issues with the revealjs format
Milestone

Comments

@jjallaire
Copy link
Collaborator

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1942

Originally posted by pat-s August 17, 2022
I've realized that the max height for code containers is harcoded to 500px by RevealJS.

If more space for code is used (e.g. due to a large font size or many lines of code), the overflowing part is hidden and the container must be scrolled to view it.

The following CSS rule extends the height - maybe this is something which could be made available in the quarto YAML options directly?

.reveal pre.sourceCode code {
        max-height: 700px; // default 500
}
```</div>
@jjallaire jjallaire self-assigned this Aug 17, 2022
@jjallaire jjallaire added this to the v1.1 milestone Aug 17, 2022
@jjallaire
Copy link
Collaborator Author

Yes, this should indeed be a YAML option! We'll do that soon.

@jjallaire jjallaire modified the milestones: v1.1, v1.2 Aug 17, 2022
@jjallaire jjallaire assigned cderv and unassigned jjallaire Aug 22, 2022
@cscheid cscheid assigned jjallaire and unassigned cderv Oct 12, 2022
@cscheid cscheid added the bug Something isn't working label Oct 12, 2022
@cscheid cscheid modified the milestones: v1.2, v1.3 Oct 12, 2022
@jjallaire jjallaire assigned dragonstyle and unassigned jjallaire Feb 27, 2023
@jjallaire jjallaire modified the milestones: v1.3, v1.4 Feb 27, 2023
@mcanouil mcanouil added the revealjs Issues with the revealjs format label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working revealjs Issues with the revealjs format
Projects
None yet
Development

No branches or pull requests

5 participants