swagger-ui-themes icon indicating copy to clipboard operation
swagger-ui-themes copied to clipboard

3.x Themes on Swagger-UI 3.18.3: design looks broken

Open DaRolla opened this issue 9 months ago • 1 comments

Hi there, so I started using the latest Docker image swaggerapi/swagger-ui:latest. According to https://hub.docker.com/r/swaggerapi/swagger-ui this should be 3.18.3. Then I downloaded the entire webpage and patched the css line according to the documentation. Using Firefox the Debug Console shows that the css is loaded. But the design looks broken.

<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8">
    <title>Swagger UI</title>
<!--    <link rel="stylesheet" type="text/css" href="Swagger%20UI-Dateien/swagger-ui.css"> -->
    <link rel="stylesheet" type="text/css" href="Swagger%20UI-Dateien/index.css">
    <link rel="icon" type="image/png" href="https://api.earthdawn.monster/favicon-32x32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="https://api.earthdawn.monster/favicon-16x16.png" sizes="16x16">
    <link rel="stylesheet" type="text/css" href="Swagger%20UI-Dateien/theme-feeling-blue.css">		
  </head>

Here comes a screenshot: 2024-04-25_09h23_31

Greetings, DaRolla

DaRolla avatar Apr 25 '24 07:04 DaRolla