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