diff --git a/src/components/Operation/Operation.tsx b/src/components/Operation/Operation.tsx index 6c9a9a7228..1f5cb108d6 100644 --- a/src/components/Operation/Operation.tsx +++ b/src/components/Operation/Operation.tsx @@ -16,6 +16,7 @@ import { ResponsesList } from '../Responses/ResponsesList'; import { ResponseSamples } from '../ResponseSamples/ResponseSamples'; import { OperationModel as OperationType } from '../../services/models'; +import styled from '../../styled-components'; const OperationRow = Row.extend` backface-visibility: hidden; @@ -34,6 +35,10 @@ const OperationRow = Row.extend` } `; +const Description = styled(Markdown)` + margin-bottom: ${({ theme }) => theme.spacing.unit * 8}; +`; + export interface OperationProps { operation: OperationType; } @@ -54,7 +59,7 @@ export class Operation extends React.Component { {summary} {deprecated && Deprecated } {options.pathInMiddlePanel && } - {description !== undefined && } + {description !== undefined && }