mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 11:26:37 +03:00
add logo gutter
This commit is contained in:
parent
649940bfe5
commit
82c0cb1a3c
|
@ -10,6 +10,7 @@ export const LogoImgEl = styled.img`
|
|||
|
||||
export const LogoWrap = styled.div`
|
||||
text-align: center;
|
||||
padding: ${props => props.theme.logo.gutter};
|
||||
`;
|
||||
|
||||
const Link = styled.a`
|
||||
|
|
|
@ -139,6 +139,7 @@ const defaultTheme: ThemeInterface = {
|
|||
logo: {
|
||||
maxHeight: ({ menu }) => menu.width,
|
||||
maxWidth: ({ menu }) => menu.width,
|
||||
gutter: '2px',
|
||||
},
|
||||
rightPanel: {
|
||||
backgroundColor: '#263238',
|
||||
|
@ -307,6 +308,7 @@ export interface ResolvedThemeInterface {
|
|||
logo: {
|
||||
maxHeight: string;
|
||||
maxWidth: string;
|
||||
gutter: string;
|
||||
};
|
||||
rightPanel: {
|
||||
backgroundColor: string;
|
||||
|
|
Loading…
Reference in New Issue
Block a user