diff --git a/src/core/plugins/oas3/wrap-components/index.js b/src/core/plugins/oas3/wrap-components/index.js index 409b2dc9..eb2bc7a1 100644 --- a/src/core/plugins/oas3/wrap-components/index.js +++ b/src/core/plugins/oas3/wrap-components/index.js @@ -3,11 +3,13 @@ import parameters from "./parameters" import VersionStamp from "./version-stamp" import OnlineValidatorBadge from "./online-validator-badge" import Model from "./model" +import TryItOutButton from "./try-it-out-button" export default { Markdown, parameters, VersionStamp, model: Model, - onlineValidatorBadge: OnlineValidatorBadge + onlineValidatorBadge: OnlineValidatorBadge, + TryItOutButton } diff --git a/src/core/plugins/oas3/wrap-components/try-it-out-button.jsx b/src/core/plugins/oas3/wrap-components/try-it-out-button.jsx new file mode 100644 index 00000000..0ae20dc7 --- /dev/null +++ b/src/core/plugins/oas3/wrap-components/try-it-out-button.jsx @@ -0,0 +1,6 @@ +import React from "react" +import { OAS3ComponentWrapFactory } from "../helpers" + +export default OAS3ComponentWrapFactory(() => { + return null +}) diff --git a/src/style/_layout.scss b/src/style/_layout.scss index 4e6322b6..a25647b0 100644 --- a/src/style/_layout.scss +++ b/src/style/_layout.scss @@ -207,6 +207,8 @@ body padding: 8px 20px; + min-height: 50px; + background: rgba(#fff,.8); box-shadow: 0 1px 2px rgba(#000,.1);