Skip to content

Redocly: Fix oldframe redocly width #269

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

Merged
merged 1 commit into from
May 29, 2025
Merged

Conversation

nginx-jack
Copy link
Collaborator

Fix issue where oldframe was rendering redocly at a fixed small width.

Screenshot 2025-05-29 at 14 30 25 Screenshot 2025-05-29 at 14 30 33

@nginx-jack nginx-jack requested a review from a team as a code owner May 29, 2025 13:32
Copy link

Deploy Preview will be available once build job completes!

Name Link
😎 Deploy Preview https://frontdoor-test-docs.nginx.com/previews/nginx-hugo-theme/269/

Copy link
Collaborator

@lamATnginx lamATnginx left a comment

Choose a reason for hiding this comment

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

The width is interesting as it is highly dependent on the content. Doesn't mean it can't be bounded via setting the width, but I think using vw is not preferred and only works since there are max-width set in the redoc/single.html to prevent overflow. I would prefer % since vw.

@nginx-jack nginx-jack force-pushed the fix-oldframe-redocly branch from d19b529 to 638c705 Compare May 29, 2025 15:55
@lamATnginx lamATnginx merged commit ac0a552 into main May 29, 2025
9 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.

2 participants