Skip to content

Commit 75e5739

Browse files
sserratablindaa121
authored andcommitted
Fix security schemes (#444)
* Create info page if title or description exists * Refactor to support all security types * Add more example security types for testing * Render scopes only if length > 0 * Fix formatting * Fix tab label and header formatting * Switch to using SchemaTabs * Use custom class to fit tabs to width
1 parent e0b76d8 commit 75e5739

File tree

1 file changed

+4
-0
lines changed
  • packages/docusaurus-theme-openapi-docs/src/theme

1 file changed

+4
-0
lines changed

packages/docusaurus-theme-openapi-docs/src/theme/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,3 +513,7 @@ div:has(> ul.openapi-tabs__security-schemes) {
513513
html[data-theme="dark"] .openapi__method-endpoint {
514514
border-color: var(--ifm-pre-background);
515515
}
516+
517+
div:has(> ul.openapi-tabs__security-schemes) {
518+
max-width: 100%;
519+
}

0 commit comments

Comments
 (0)