Odd scaling of footer, logo and slide number for presentation in iframe

Open
#1,547 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Reproduce the issue by embedding the Reveal.js demo URL in a 210px by 120px iframe as shown. Inspect the presentation's responsive scaling behavior for the menu, footer, logo, and slide number; done means these elements scale with the slide content without overlapping it.

Written by the indexing model from the issue text.

Description

enhancement html revealjs

I tried to integrate a quarto revealjs presentation into a quarto document as an iframe like

---
title: "test"
format: html
---
<iframe src="https://quarto.org/docs/presentations/revealjs/demo/" width="210px" height="120px"></iframe>

When rendering this document the content of the slides is scaled correctly, but the menu button, footer text, logo and slide number stay too big and overlap the content:

Screenshot 2022-07-27 at 16 15 41

I think it would be better if the scaling of the menu button, footer text, logo and slide number would follow the scaling of the content.

Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.