Skip to content

Commit 28f2391

Browse files
committed
fix: add logo width to the theme
1 parent 0cb0af2 commit 28f2391

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/ApiLogo/styled.elements.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import styled from '../../styled-components';
33

44
export const LogoImgEl = styled.img`
55
max-height: ${props => props.theme.logo.maxHeight};
6-
width: auto;
6+
width: ${props => props.theme.logo.width};
77
display: block;
8-
max-width: 100%;
98
`;
109

1110
export const LogoWrap = styled.div`

src/theme.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ const theme = {
5353
backgroundColor: '#fafafa',
5454
},
5555
logo: {
56-
maxHeight: '150px',
56+
maxHeight: 'none',
57+
width: '100%',
5758
},
5859
rightPanel: {
5960
backgroundColor: '#263238',

0 commit comments

Comments
 (0)