Skip to content

Fix blank presentation page - Reveal.js initialization and body styling#167

Merged
wrhalpin merged 1 commit into
mainfrom
claude/live-presentation-deck-tYlEP
Apr 26, 2026
Merged

Fix blank presentation page - Reveal.js initialization and body styling#167
wrhalpin merged 1 commit into
mainfrom
claude/live-presentation-deck-tYlEP

Conversation

@wrhalpin
Copy link
Copy Markdown
Owner

  • Remove invalid string values for width/height in Reveal.initialize()
  • Add explicit html/body viewport styling (100% width/height, no margins)
  • Add embedded: true to Reveal config
  • Ensure dark background is applied to viewport

https://claude.ai/code/session_01FUJQyGdWpZSgYkW1Xb95gU

- Remove invalid string values for width/height in Reveal.initialize()
- Add explicit html/body viewport styling (100% width/height, no margins)
- Add embedded: true to Reveal config
- Ensure dark background is applied to viewport

https://claude.ai/code/session_01FUJQyGdWpZSgYkW1Xb95gU
Copilot AI review requested due to automatic review settings April 26, 2026 17:05
@wrhalpin wrhalpin merged commit 16352d2 into main Apr 26, 2026
14 of 20 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a blank Reveal.js presentation page by correcting initialization options and ensuring the document viewport is styled to fill the screen with a consistent dark background.

Changes:

  • Add explicit html, body sizing (100% width/height) and remove default margins/padding.
  • Remove invalid string values for width/height from Reveal.initialize() and adjust layout-related config.
  • Enable embedded: true and ensure the viewport background is consistently dark.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/deck/index.html
height: 100%;
margin: 0;
padding: 0;
background: #1A1A1A;
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The html/body background color is hard-coded (#1A1A1A) even though the same value is already defined as --surface a few lines below and used for .reveal-viewport. Using background: var(--surface) (or background-color) here would avoid duplication and prevent future drift if the palette changes.

Suggested change
background: #1A1A1A;
background: var(--surface);

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants