fix: remove .col class that causes collision with Bootstrap (via #5541)

* improvement: address Bootstrap conflict by removing our .col class (#4574)

* use `.parameters-col_description` selector in Cypress tests
This commit is contained in:
thierrydallacroce
2019-08-20 19:51:45 -07:00
committed by kyle
parent 1793df64e8
commit 0b3489b52d
8 changed files with 29 additions and 29 deletions

View File

@@ -140,8 +140,8 @@ export default class Response extends React.Component {
sampleResponse = response.getIn(["examples", activeContentType])
} else {
sampleResponse = schema ? getSampleSchema(
schema.toJS(),
activeContentType,
schema.toJS(),
activeContentType,
{
includeReadOnly: true,
includeWriteOnly: true // writeOnly has no filtering effect in swagger 2.0
@@ -154,10 +154,10 @@ export default class Response extends React.Component {
return (
<tr className={ "response " + ( className || "") } data-code={code}>
<td className="col response-col_status">
<td className="response-col_status">
{ code }
</td>
<td className="col response-col_description">
<td className="response-col_description">
<div className="response-col_description__inner">
<Markdown source={ response.get( "description" ) } />
@@ -237,7 +237,7 @@ export default class Response extends React.Component {
) : null}
</td>
{isOAS3 ? <td className="col response-col_links">
{isOAS3 ? <td className="response-col_links">
{ links ?
links.toSeq().map((link, key) => {
return <OperationLink key={key} name={key} link={ link } getComponent={getComponent}/>