diff --git a/src/templates/APIPage/swagger-ui-overrides.scss b/src/templates/APIPage/swagger-ui-overrides.scss index 05f264f2..b038de55 100644 --- a/src/templates/APIPage/swagger-ui-overrides.scss +++ b/src/templates/APIPage/swagger-ui-overrides.scss @@ -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; -} \ No newline at end of file +} + +// Fix issue on mobile with text on accordion looking weird. + +@media (width <= 544px) { + .swagger-ui .opblock-tag-section .opblock-tag small { + flex: initial; + } +}