From 49bad6743c4a74cd08ee51d6e64ec01ba06a14d2 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Mon, 16 May 2022 08:56:52 -0500 Subject: [PATCH] Remove Inline Styles in Favor of the Stylesheet Should fix https://github.com/nelmio/NelmioApiDocBundle/issues/1770 --- Resources/public/style.css | 6 ++++++ Resources/views/SwaggerUi/index.html.twig | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Resources/public/style.css b/Resources/public/style.css index 62c0927..46ef28c 100644 --- a/Resources/public/style.css +++ b/Resources/public/style.css @@ -289,3 +289,9 @@ text-align:center; .swagger-ui .errors-wrapper hgroup h4 { font-family: sans-serif !important; } + +#swagger-ui-logos { + position: absolute; + width:0; + height:0; +} diff --git a/Resources/views/SwaggerUi/index.html.twig b/Resources/views/SwaggerUi/index.html.twig index fac6ea3..d1f0097 100644 --- a/Resources/views/SwaggerUi/index.html.twig +++ b/Resources/views/SwaggerUi/index.html.twig @@ -25,7 +25,7 @@ file that was distributed with this source code. #} {% block svg_icons %} - +