mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 00:26:34 +03:00
fix: "API Docs By Redocly" overlapping last element in sidebar (#2132)
This commit is contained in:
parent
c24b31b228
commit
c60c6f5891
|
@ -84,6 +84,10 @@ export const MenuItemUl = styled.ul<{ expanded: boolean }>`
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
&:first-child {
|
||||
padding-bottom: 32px;
|
||||
}
|
||||
|
||||
& & {
|
||||
font-size: 0.929em;
|
||||
}
|
||||
|
@ -169,27 +173,27 @@ export const MenuItemTitle = styled.span<{ width?: string }>`
|
|||
`;
|
||||
|
||||
export const RedocAttribution = styled.div`
|
||||
${({ theme }) => `
|
||||
font-size: 0.8em;
|
||||
margin-top: ${theme.spacing.unit * 2}px;
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
width: ${theme.sidebar.width};
|
||||
bottom: 0px;
|
||||
background: ${theme.sidebar.backgroundColor};
|
||||
|
||||
a,
|
||||
a:visited,
|
||||
a:hover {
|
||||
color: ${theme.sidebar.textColor} !important;
|
||||
padding: ${theme.spacing.unit}px 0;
|
||||
border-top: 1px solid ${darken(0.1, theme.sidebar.backgroundColor)};
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
`};
|
||||
${({ theme }) => css`
|
||||
font-size: 0.8em;
|
||||
margin-top: ${theme.spacing.unit * 2}px;
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
width: ${theme.sidebar.width};
|
||||
bottom: 0;
|
||||
background: ${theme.sidebar.backgroundColor};
|
||||
|
||||
a,
|
||||
a:visited,
|
||||
a:hover {
|
||||
color: ${theme.sidebar.textColor} !important;
|
||||
padding: ${theme.spacing.unit}px 0;
|
||||
border-top: 1px solid ${darken(0.1, theme.sidebar.backgroundColor)};
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
`};
|
||||
img {
|
||||
width: 15px;
|
||||
margin-right: 5px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user