This commit is contained in:
Yurov Dmitry 2019-03-28 11:15:02 +03:00
parent 9f89e3e9f0
commit 8196795f3c
2 changed files with 14 additions and 13 deletions

View File

@ -4,6 +4,7 @@ export const OperationEndpointWrap = styled.div`
cursor: pointer; cursor: pointer;
position: relative; position: relative;
margin-bottom: 5px; margin-bottom: 5px;
margin-top: 20px;
`; `;
export const ServerRelativeURL = styled.span` export const ServerRelativeURL = styled.span`
@ -36,7 +37,7 @@ export const EndpointInfo = styled.div<{ expanded?: boolean; inverted?: boolean
export const HttpVerb = styled.span.attrs((props: { type: string }) => ({ export const HttpVerb = styled.span.attrs((props: { type: string }) => ({
className: `http-verb ${props.type}`, className: `http-verb ${props.type}`,
}))<{ type: string }>` })) <{ type: string }>`
font-size: 0.929em; font-size: 0.929em;
line-height: 20px; line-height: 20px;
background-color: ${(props: any) => props.theme.colors.http[props.type] || '#999999'}; background-color: ${(props: any) => props.theme.colors.http[props.type] || '#999999'};