mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
fix: add logo width to the theme
This commit is contained in:
parent
0cb0af2cae
commit
28f239114b
|
@ -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`
|
||||
|
|
|
@ -53,7 +53,8 @@ const theme = {
|
|||
backgroundColor: '#fafafa',
|
||||
},
|
||||
logo: {
|
||||
maxHeight: '150px',
|
||||
maxHeight: 'none',
|
||||
width: '100%',
|
||||
},
|
||||
rightPanel: {
|
||||
backgroundColor: '#263238',
|
||||
|
|
Loading…
Reference in New Issue
Block a user