-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around visual bug in redoc (#1658)
- Loading branch information
Showing
1 changed file
with
23 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title>Svix API - ReDoc</title> | ||
<!-- needed for adaptive design --> | ||
<meta charset="utf-8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Svix API - ReDoc</title> | ||
<!-- needed for adaptive design --> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet"> | ||
|
||
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet"> | ||
<link rel="shortcut icon" href="https://www.svix.com/favicon.ico"> | ||
<!-- ReDoc doesn't change outer page styles --> | ||
<style> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
<link rel="shortcut icon" href="https://www.svix.com/favicon.ico"> | ||
<!-- | ||
ReDoc doesn't change outer page styles | ||
--> | ||
<style> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
</style> | ||
redoc ul[role="menu"] { | ||
/* fix last item being hidden behind the redoc banner on smaller viewports */ | ||
padding-bottom: 32px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<redoc spec-url="/api/v1/openapi.json"></redoc> | ||
<script src="https://cdn.jsdelivr.net/npm/redoc@latest/bundles/redoc.standalone.js"> </script> | ||
<redoc spec-url="/api/v1/openapi.json"></redoc> | ||
<script src="https://cdn.jsdelivr.net/npm/redoc@latest/bundles/redoc.standalone.js"> </script> | ||
</body> | ||
|
||
</html> |