mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-09 22:54:51 +03:00
fixes
This commit is contained in:
parent
9f89e3e9f0
commit
8196795f3c
|
@ -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'};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user