Skip to content

Commit

Permalink
Fix Section Tag text in Swagger API (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgading authored Mar 14, 2024
1 parent 1b07378 commit 0a93de7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/templates/APIPage/swagger-ui-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,12 @@ This document provides overrides to Swagger UI, fixing accessibility issues.
// Swagger overrides
.swagger-ui h2, .swagger-ui h3, .swagger-ui h4 {
font-weight: bold !important;
}
}

// Fix issue on mobile with text on accordion looking weird.

@media (width <= 544px) {
.swagger-ui .opblock-tag-section .opblock-tag small {
flex: initial;
}
}

0 comments on commit 0a93de7

Please sign in to comment.