mirror of
https://github.com/Redocly/redoc.git
synced 2025-09-24 04:56:39 +03:00
Comment fixes
This commit is contained in:
parent
f0217b7bc5
commit
9ce56fda46
|
@ -35,7 +35,6 @@ export class RequestSamples extends React.Component<RequestSamplesProps> {
|
||||||
|
|
||||||
<RequestSamplesTabs defaultIndex={0}>
|
<RequestSamplesTabs defaultIndex={0}>
|
||||||
<TabList hidden={hideTabList}>
|
<TabList hidden={hideTabList}>
|
||||||
{hasBodySample && <Tab key="payload"> Payload </Tab>}
|
|
||||||
{samples.map(sample => (
|
{samples.map(sample => (
|
||||||
<Tab key={sample.lang + '_' + (sample.label || '')}>
|
<Tab key={sample.lang + '_' + (sample.label || '')}>
|
||||||
{sample.label !== undefined ? sample.label : sample.lang}
|
{sample.label !== undefined ? sample.label : sample.lang}
|
||||||
|
|
|
@ -35,11 +35,11 @@ const StyledStickySidebar = styled.div<{ open?: boolean }>`
|
||||||
position: fixed;
|
position: fixed;
|
||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
z-index: 20;
|
||||||
border-right: 1px solid rgb(243, 243, 243);
|
border-right: 1px solid rgb(243, 243, 243);
|
||||||
|
|
||||||
${media.lessThan('small')`
|
${media.lessThan('small')`
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 20;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
display: ${props => (props.open ? 'flex' : 'none')};
|
display: ${props => (props.open ? 'flex' : 'none')};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user