Comment fixes

This commit is contained in:
Pankov 2025-09-12 14:16:53 +03:00
parent f0217b7bc5
commit 9ce56fda46
2 changed files with 1 additions and 2 deletions

View File

@ -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}

View File

@ -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')};