fix: "API Docs By Redocly" overlapping last element in sidebar (#2132)

This commit is contained in:
Oprysk Vyacheslav 2022-08-16 18:03:11 +03:00 committed by GitHub
parent c24b31b228
commit c60c6f5891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,10 @@ export const MenuItemUl = styled.ul<{ expanded: boolean }>`
margin: 0; margin: 0;
padding: 0; padding: 0;
&:first-child {
padding-bottom: 32px;
}
& & { & & {
font-size: 0.929em; font-size: 0.929em;
} }
@ -169,13 +173,13 @@ export const MenuItemTitle = styled.span<{ width?: string }>`
`; `;
export const RedocAttribution = styled.div` export const RedocAttribution = styled.div`
${({ theme }) => ` ${({ theme }) => css`
font-size: 0.8em; font-size: 0.8em;
margin-top: ${theme.spacing.unit * 2}px; margin-top: ${theme.spacing.unit * 2}px;
text-align: center; text-align: center;
position: fixed; position: fixed;
width: ${theme.sidebar.width}; width: ${theme.sidebar.width};
bottom: 0px; bottom: 0;
background: ${theme.sidebar.backgroundColor}; background: ${theme.sidebar.backgroundColor};
a, a,
@ -189,7 +193,7 @@ export const RedocAttribution = styled.div`
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
`}; `};
img { img {
width: 15px; width: 15px;
margin-right: 5px; margin-right: 5px;