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

Web Crypto doc page not responsive on mobile #57221

Closed
wilyJ80 opened this issue Feb 27, 2025 · 1 comment
Closed

Web Crypto doc page not responsive on mobile #57221

wilyJ80 opened this issue Feb 27, 2025 · 1 comment
Labels
doc Issues and PRs related to the documentations.

Comments

@wilyJ80
Copy link

wilyJ80 commented Feb 27, 2025

Affected URL(s)

https://nodejs.org/docs/latest/api/webcrypto.html

Description of the problem

Unlike other API doc pages, like the WASI page, the Web Crypto doc page is not responsive on mobile. Self-explanatory.
Here are my failed attempts at fixing:
At first, I immediately thought it would be a problem inside the <head> tag. The page looked suspiciously zoomed out, like when it doesn't have <meta name="viewport" content="width=device-width, initial-scale=1">. Changing it wielded no results.
So I decided to actually get familiar with the build process for the API docs, and found out it injects media queries in a <style> tag. Tried manually changing the media queries of the affected page with one from a working page, didn't work.
I suppose I'm missing something in the build process that could be causing this problem. Tried investigating how the Markdown files are processed, but couldn't find much that could pinpoint the root cause.

@wilyJ80 wilyJ80 added the doc Issues and PRs related to the documentations. label Feb 27, 2025
@jazelly
Copy link
Member

jazelly commented Mar 1, 2025

We have nodejs.org repo. This should be reported there. Closing.

@jazelly jazelly closed this as completed Mar 1, 2025
@jazelly jazelly closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations.
Projects
None yet
Development

No branches or pull requests

2 participants