Skip to content

Commit

Permalink
Remove Redoc body margin
Browse files Browse the repository at this point in the history
Updates:
- Remove Redoc body margin
- Add viewport meta tag in redoc.html
  • Loading branch information
Nekidev authored Oct 23, 2023
1 parent e5e3a4c commit 8d059e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ninja/templates/ninja/redoc.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<head>
<link rel="shortcut icon" href="{% static 'ninja/favicon.png' %}">
<title>{{ api.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body {
margin: 0px;
}
</style>
</head>
<body>
<div id="redoc-ui"></div>
Expand Down

0 comments on commit 8d059e0

Please sign in to comment.