diff --git a/src/core/components/response.jsx b/src/core/components/response.jsx index 95602c64d215962f271fe80c0ffc7874b4ea3c15..9d30849d8a7bd5b3cabfe80f6b0196fe4b4b8ae4 100644 --- a/src/core/components/response.jsx +++ b/src/core/components/response.jsx @@ -122,10 +122,10 @@ export default class Response extends React.Component { - {specSelectors.isOAS3() ?
{name}
+ { description ? Operation `{targetOp}`
Parameters {padString(0, JSON.stringify(parameters, null, 2)) || "{}"}
@@ -30,6 +35,7 @@ function padString(n, string) { } OperationLink.propTypes = { + getComponent: PropTypes.func.isRequired, link: ImPropTypes.orderedMap.isRequired, name: PropTypes.String } diff --git a/src/style/_layout.scss b/src/style/_layout.scss index b99064d1acde9610b0b31678775abbfb43967fea..9ee357f0d2e818112ab07e75110cf02d155e1861 100644 --- a/src/style/_layout.scss +++ b/src/style/_layout.scss @@ -522,6 +522,22 @@ } } +.response-col_links +{ + padding-left: 2em; + max-width: 40em; + font-size: 14px; + + @include text_body(); + + .response-undocumented + { + font-size: 11px; + + @include text_code(#999); + } +} + .response-col_description__inner { span diff --git a/src/style/_table.scss b/src/style/_table.scss index cfec861ae59d1bf8319bd757e96d7c8645c61792..7f0655292b6182e3b282852819f1b7e54c2314a8 100644 --- a/src/style/_table.scss +++ b/src/style/_table.scss @@ -52,7 +52,8 @@ table &:first-of-type { - width: 20%; + max-width: 20%; + min-width: 6em; padding: 10px 0; } }