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

fix: Set body height to 100% of the viewport height #271

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

mailbaoer
Copy link
Contributor

@mailbaoer mailbaoer commented Mar 1, 2024

Thank you for the fantastic work your team has done. When I use huma for a demo, I noticed that the documentation does not display correctly on my extended screen, as follows:
image

I found a solution on the Stoplight documentation website that suggests resolving the issue by adding a style configuration to the body.

<body style="height: 100vh;">
    <stoplight-api />
</body>

Stoplight Layout

Hope this issue can be fixed!

Copy link
Owner

@danielgtaylor danielgtaylor left a comment

Choose a reason for hiding this comment

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

Thanks! 👍

Copy link

codecov bot commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.65%. Comparing base (e8889ba) to head (57c3e87).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #271   +/-   ##
=======================================
  Coverage   94.65%   94.65%           
=======================================
  Files          18       18           
  Lines        2694     2694           
=======================================
  Hits         2550     2550           
  Misses        106      106           
  Partials       38       38           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielgtaylor danielgtaylor merged commit 07e89e6 into danielgtaylor:main Mar 1, 2024
3 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