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}>
|
||||
<TabList hidden={hideTabList}>
|
||||
{hasBodySample && <Tab key="payload"> Payload </Tab>}
|
||||
{samples.map(sample => (
|
||||
<Tab key={sample.lang + '_' + (sample.label || '')}>
|
||||
{sample.label !== undefined ? sample.label : sample.lang}
|
||||
|
|
|
@ -35,11 +35,11 @@ const StyledStickySidebar = styled.div<{ open?: boolean }>`
|
|||
position: fixed;
|
||||
position: -webkit-sticky;
|
||||
top: 0;
|
||||
z-index: 20;
|
||||
border-right: 1px solid rgb(243, 243, 243);
|
||||
|
||||
${media.lessThan('small')`
|
||||
position: fixed;
|
||||
z-index: 20;
|
||||
width: 100%;
|
||||
background: #ffffff;
|
||||
display: ${props => (props.open ? 'flex' : 'none')};
|
||||
|
|
Loading…
Reference in New Issue
Block a user