From 5087a32caf7dfcb6a52447cda8df6b18944c9be0 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:59:33 +0300 Subject: [PATCH] [v11.0.x] Chore: Update swagger ui (4.3.0 to 5.17.14) (#92345) Chore: Update swagger ui (4.3.0 to 5.17.14) (#92341) (cherry picked from commit 1256172df54b7fb67b2e2093b84db2d6e1c8b0e6) Co-authored-by: Ryan McKinley --- public/views/swagger.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/public/views/swagger.html b/public/views/swagger.html index 4b56f31731f..caf5c87a72d 100644 --- a/public/views/swagger.html +++ b/public/views/swagger.html @@ -7,8 +7,8 @@ @@ -32,8 +32,10 @@ background: #fafafa; } - .topbar-wrapper img { + .swagger-ui .topbar a { content: url('public/img/grafana_icon.svg'); + height: 50px; + flex: 0; } @@ -43,17 +45,17 @@ @@ -98,11 +100,11 @@ filter: true, tagsSorter: 'alpha', tryItOutEnabled: true, - queryConfigEnabled: true, // keeps the selected ?urls.primaryName=... + queryConfigEnabled: false, }); window.ui = ui; }; - + \ No newline at end of file