mirror of
https://github.com/Redocly/redoc.git
synced 2025-09-24 04:56:39 +03:00
SG API docs
This commit is contained in:
parent
3a530644d9
commit
f0217b7bc5
|
@ -121,10 +121,6 @@ const RedocPlayground = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const Header = styled.div`
|
const Header = styled.div`
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
z-index: 200;
|
|
||||||
text-align: right;
|
text-align: right;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
padding: 19px;
|
padding: 19px;
|
||||||
|
|
|
@ -29,12 +29,13 @@ export const ApiContentWrap = styled.div`
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: calc(100% - ${props => props.theme.menu.width});
|
width: 100%;
|
||||||
${media.lessThan('small', true)`
|
${media.lessThan('small', true)`
|
||||||
width: 100%;
|
width: 100%;
|
||||||
`};
|
`};
|
||||||
|
|
||||||
contain: layout;
|
contain: layout;
|
||||||
|
padding-left: 260px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const BackgroundStub = styled.div`
|
export const BackgroundStub = styled.div`
|
||||||
|
|
|
@ -32,7 +32,7 @@ const StyledStickySidebar = styled.div<{ open?: boolean }>`
|
||||||
contain: strict;
|
contain: strict;
|
||||||
|
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
position: sticky;
|
position: fixed;
|
||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
border-right: 1px solid rgb(243, 243, 243);
|
border-right: 1px solid rgb(243, 243, 243);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user