Skip to content

docs: add warning about global css leaking into presenter mode#2493

Merged
kermanx merged 3 commits into
slidevjs:mainfrom
GoldFoylee:docs-css-warning
Mar 19, 2026
Merged

docs: add warning about global css leaking into presenter mode#2493
kermanx merged 3 commits into
slidevjs:mainfrom
GoldFoylee:docs-css-warning

Conversation

@GoldFoylee

Copy link
Copy Markdown
Contributor

Fixes #2446

Description

Added a brief warning in the Custom CSS documentation advising users to scope their global styles (e.g., using .slidev-layout) to prevent unintended visual overrides in the Presenter Mode UI.

Checklist

  • I have read the contributing guidelines.
  • I have verified the markdown renders correctly.
  • No code logic was changed (Documentation update only).

@netlify

netlify Bot commented Mar 17, 2026

Copy link
Copy Markdown

Deploy Preview for slidev failed.

Name Link
🔨 Latest commit 4a46777
🔍 Latest deploy log https://app.netlify.com/projects/slidev/deploys/69bb9f7f4fb10b0008cbb6c9

@pkg-pr-new

pkg-pr-new Bot commented Mar 19, 2026

Copy link
Copy Markdown

Open in StackBlitz

@slidev/client

npm i https://pkg.pr.new/@slidev/client@2493

create-slidev

npm i https://pkg.pr.new/create-slidev@2493

create-slidev-theme

npm i https://pkg.pr.new/create-slidev-theme@2493

@slidev/parser

npm i https://pkg.pr.new/@slidev/parser@2493

@slidev/cli

npm i https://pkg.pr.new/@slidev/cli@2493

@slidev/types

npm i https://pkg.pr.new/@slidev/types@2493

commit: 4a46777

@kermanx kermanx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks~

@kermanx
kermanx merged commit 3a5f8dd into slidevjs:main Mar 19, 2026
16 of 20 checks passed
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.

docs: add tip about scoping custom CSS to avoid affecting presenter mode

2 participants