Skip to content

Commit

Permalink
add logo gutter
Browse files Browse the repository at this point in the history
  • Loading branch information
stasiukanya committed Apr 8, 2019
1 parent 649940b commit 82c0cb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ApiLogo/styled.elements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 2 additions & 0 deletions src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ const defaultTheme: ThemeInterface = {
logo: {
maxHeight: ({ menu }) => menu.width,
maxWidth: ({ menu }) => menu.width,
gutter: '2px',
},
rightPanel: {
backgroundColor: '#263238',
Expand Down Expand Up @@ -307,6 +308,7 @@ export interface ResolvedThemeInterface {
logo: {
maxHeight: string;
maxWidth: string;
gutter: string;
};
rightPanel: {
backgroundColor: string;
Expand Down

0 comments on commit 82c0cb1

Please sign in to comment.