Skip to content

Commit

Permalink
fix: add logo width to the theme
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Mar 13, 2018
1 parent 0cb0af2 commit 28f2391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/ApiLogo/styled.elements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ import styled from '../../styled-components';

export const LogoImgEl = styled.img`
max-height: ${props => props.theme.logo.maxHeight};
width: auto;
width: ${props => props.theme.logo.width};
display: block;
max-width: 100%;
`;

export const LogoWrap = styled.div`
Expand Down
3 changes: 2 additions & 1 deletion src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ const theme = {
backgroundColor: '#fafafa',
},
logo: {
maxHeight: '150px',
maxHeight: 'none',
width: '100%',
},
rightPanel: {
backgroundColor: '#263238',
Expand Down

0 comments on commit 28f2391

Please sign in to comment.