fix: add logo width to the theme

This commit is contained in:
Roman Hotsiy 2018-03-09 21:25:19 +02:00
parent 0cb0af2cae
commit 28f239114b
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,8 @@ import styled from '../../styled-components';
export const LogoImgEl = styled.img` export const LogoImgEl = styled.img`
max-height: ${props => props.theme.logo.maxHeight}; max-height: ${props => props.theme.logo.maxHeight};
width: auto; width: ${props => props.theme.logo.width};
display: block; display: block;
max-width: 100%;
`; `;
export const LogoWrap = styled.div` export const LogoWrap = styled.div`

View File

@ -53,7 +53,8 @@ const theme = {
backgroundColor: '#fafafa', backgroundColor: '#fafafa',
}, },
logo: { logo: {
maxHeight: '150px', maxHeight: 'none',
width: '100%',
}, },
rightPanel: { rightPanel: {
backgroundColor: '#263238', backgroundColor: '#263238',