Skip to content

min-height: 100% for code in Reveal.js when embed-resources: true #12295

@mcanouil

Description

@mcanouil

Bug description

Code occupies 100% of the slide height as min-height: 100% is set in Reveal.js when embed-resources: true

This is a new bug from 1.7.
1.6 is rendering as expected.

Steps to reproduce

InputOutput
---
title: "min-height: 100%"
format: revealjs
embed-resources: true
---

## Slide 1

```bash
quarto render --help
```
Image

Expected behavior

InputOutput
---
title: "min-height: 100%"
format: revealjs
embed-resources: false
---

## Slide 1

```bash
quarto render --help
```
Image

Your environment

No response

Quarto check output

Quarto 99.9.9
[✓] Checking environment information...
      Quarto cache location: /Users/mcanouil/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.4.0: OK
      Dart Sass version 1.85.1: OK
      Deno version 1.46.3: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 99.9.9
      commit: c1c5a4308f77fa2674082f41be12446cdcf415fd
      Path: /Users/mcanouil/Projects/quarto/quarto-cli/package/dist/bin

[✓] Checking tools....................OK
      TinyTeX: v2025.03
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: TinyTex
      Path: /Users/mcanouil/Library/TinyTeX/bin/universal-darwin
      Version: 2024

[✓] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: /Applications/Brave Browser.app/Contents/MacOS/Brave Browser
      Source: QUARTO_CHROMIUM

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.13.2
      Path: /opt/homebrew/opt/[email protected]/bin/python3.13
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

(-) Checking R installation...........ℹ R version 4.4.3 (2025-02-28)
(\) Checking R installation...........! Config '~/.Rprofile' was loaded!
[✓] Checking R installation...........OK
      Version: 4.4.3
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library
      knitr: 1.46
      rmarkdown: 2.26

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingrevealjsIssues with the revealjs format

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions