diff --git a/demo/swagger.json b/demo/swagger.json index adb0c45f..2a126a55 100644 --- a/demo/swagger.json +++ b/demo/swagger.json @@ -29,7 +29,7 @@ },{ "name": "JSONP", "x-traitTag": true, - "description": "If you're writing an AJAX application, and you'd like to wrap our response with a callback, all you have to do is specify a callback parameter with any API call:\n```\n https://api.instagram.com/v1/tags/coffee/media/recent?access_token=fb2e77d.47a0479900504cb3ab4a1f626d174d2d&callback=callbackFunction\n```\nWould respond with:\n```js\ncallbackFunction({\n ...\n});\n```", + "description": "If you're writing an AJAX application, and you'd like to wrap our response with a callback, all you have to do is specify a callback parameter with any API call:\n```\n https://api.instagram.com/v1/tags/coffee/media/recent?access_token=fb2e77d.47a0479900504cb3ab4a1f626d174d2d&callback=callbackFunction\n```\nWould respond with:\n```js\ncallbackFunction({\n ...\n});\n``` \n > Example of markdown blockquote", "externalDocs": { "description": "Find out more", "url": "http://swagger.io" diff --git a/lib/components/Method/method.scss b/lib/components/Method/method.scss index 2dcc7fa7..38e7fbd0 100644 --- a/lib/components/Method/method.scss +++ b/lib/components/Method/method.scss @@ -103,6 +103,7 @@ responses-samples { .method-description { padding: 30px 0; + margin: 0; } .http-method { diff --git a/lib/components/Redoc/redoc.scss b/lib/components/Redoc/redoc.scss index 549c77df..78a0d321 100644 --- a/lib/components/Redoc/redoc.scss +++ b/lib/components/Redoc/redoc.scss @@ -91,6 +91,12 @@ footer { } } +/* global redoc styles */ + +:host p { + margin: 0; + margin-bottom: 1em; +} /* markdown elements */ @@ -128,6 +134,19 @@ footer { p { margin: 0; + margin-bottom: 1em; + } + + p:last-of-type { + margin-bottom: 0; + } + + blockquote { + margin: 0; + margin-bottom: 1em; + padding: 0 15px; + color: #777; + border-left: 4px solid #ddd; } table {