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

print: switch mermaid and swagger style before print #316

Closed
McShelby opened this issue Jul 28, 2022 · 1 comment
Closed

print: switch mermaid and swagger style before print #316

McShelby opened this issue Jul 28, 2022 · 1 comment
Assignees
Labels
browser This is a topic related to the browser but not the theme bug Something isn't working
Milestone

Comments

@McShelby
Copy link
Owner

McShelby commented Jul 28, 2022

If a page is sent directly to the printer by pressing CTRL+p the Mermaid and Swagger style is not switched to it's light default variant.

This can best be seen if the default variant is neon or relearn-dark.

@McShelby McShelby added the bug Something isn't working label Jul 28, 2022
@McShelby McShelby added this to the 5.2.0 milestone Jul 28, 2022
@McShelby McShelby self-assigned this Jul 28, 2022
@McShelby McShelby changed the title print: switch mermaid style before print print: switch mermaid and swagger style before print Jul 29, 2022
@McShelby
Copy link
Owner Author

McShelby commented Jul 29, 2022

Switching of Swagger styles still doesn't work in FF due to the fact that FF handles print previews differently than GC (this isn't handled by the standard) and probably has issues with the used custom HTML element.

https://bugzilla.mozilla.org/show_bug.cgi?id=774398

@McShelby McShelby added the browser This is a topic related to the browser but not the theme label Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser This is a topic related to the browser but not the theme bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant