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

Version label has extra margin padding #711

Closed
walsha2 opened this issue Jan 22, 2024 · 0 comments
Closed

Version label has extra margin padding #711

walsha2 opened this issue Jan 22, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@walsha2
Copy link

walsha2 commented Jan 22, 2024

Describe the problem

Version: ^3.0.0-beta.5

The version badge in the documentation contains extra margin padding that looks like it should not be there. I have noticed it on all of the v3 beta releases thus far.

version_issue

Documentation Link

I am seeing this on private documentation being generated with this package, but you can see it on the v3 beta release as well (link from PR #660)

https://docusaurus-openapi-36b86--pr660-xou63k6x.web.app/petstore/swagger-petstore-yaml

Suggested fix

Change this rule regarding the p tag associated with the version label. Changing the margin to 0 resolves the issue and removes the extra margin padding.

p {
    margin: 0 0 var(--ifm-paragraph-margin-bottom);
}
@walsha2 walsha2 added the documentation Improvements or additions to documentation label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants