Skip to content

Commit

Permalink
fix: corrige conflit css swagger et dsfr #21
Browse files Browse the repository at this point in the history
  • Loading branch information
ocruze committed May 22, 2024
1 parent d464bad commit 86f8683
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
{% endif %}
{% if swaggerui %}
<link rel="stylesheet" href="/css/swagger-ui.css">
<link rel="stylesheet" href="/css/swagger-ui-custom.css">
<script src="/js/swagger-ui.js"></script>
{% endif %}
<script src="/js/copy.js" defer></script>
Expand Down
7 changes: 7 additions & 0 deletions public/css/swagger-ui-custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.swagger-ui button,
.swagger-ui button:focus,
.swagger-ui button:hover,
.swagger-ui input {
background-color: inherit;
color: inherit;
}

0 comments on commit 86f8683

Please sign in to comment.